_355.js 2.7 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. var _355=new _lcm( "_355", "dlgV2ScatterDataLabels" );_355._jgn=function(_u4c,_zpi,_jxm){this._0jm=_zpi;this._4le(_u4c, null, _jxm);};_355._fdm=function(){if(this._zpl){this._zpl._fdm();delete this._zpl;}if(this._1r7){this._1r7._fdm();delete this._1r7;}if(this._6aa){this._6aa._fdm();delete this._6aa;}if(this._6r7){this._6r7._fdm();delete this._6r7;}if(this._gy8){this._gy8._fdm();delete this._gy8;}this._wpb=null;};_355._5z2=function(){this._wpb=this._2oh("chkShowLeaders");this._1r7=new _jgk(this._2oh("cboCategoryValues"), _frh._53g('cboDataLabelsValues'), null, this);this._6aa=new _jgk(this._2oh("cboSeriesValues"), _frh._53g('cboDataLabelsValues'), null, this);this._6r7=new _jgk(this._2oh("cboMeasuresValues"), _frh._53g('cboDataLabelsValues'), null, this);this._zpl=new _jgk(this._2oh("cboMode"), _frh._53g('cboChartLabelCollisionMode'), null, this);this._gy8=new _jgk(this._2oh("cboValueLocation"), _frh._53g('cboDisplayDataLocation'), null, this);var _92m=this._0jm.selectSingleNode(".//v2_scatterDataLabels");if(!_92m){this._wpb.checked=false;this._1r7._gwc(0);this._6aa._gwc(0);this._6r7._gwc(0);this._zpl._gwc(0);this._gy8._gwc(0);}else{this._1r7._hwc(_92m.getAttribute("categoryValues"));this._6aa._hwc(_92m.getAttribute("seriesValues"));this._6r7._hwc(_92m.getAttribute("measureValues"));this._zpl._hwc(_92m.getAttribute("labelCollisionMode"));this._gy8._hwc(_92m.getAttribute("displayDataLocation"));this._wpb.checked=_92m.getAttribute("leaderLines")=="show";}this._ynk();};_355._g67=function(_a6k,_mzj,_zdf){this._ynk(); };_355._ynk=function(){var _zwk=(this._1r7._qik()!="none")||(this._6aa._qik()!="none")||(this._6r7._qik()!="none");this._obb("lblValueLocation", _zwk);this._gy8._mqh(_zwk);this._obb("lblCollisionMode", _zwk);this._zpl._mqh(_zwk);this._j96("chkShowLeaders", _zwk);this._obb("lblShowLeaders", _zwk);};_355._o46=function(){this._fdm();};_355._bgn=function(){this._s1d();this._3le();};_355._6ll=function(){this._s1d();this._4x9();};_355._s1d=function(){_erh._ybb();var _mic=this._1r7._qik();var _xwf=this._6aa._qik();var _3lc=this._6r7._qik();if((_mic=="none")&&(_xwf=="none")&&(_3lc=="none")){_8qn._cqh(this._0jm, "v2_scatterDataLabels");}else{var _92m=_erh._h56(this._0jm, "v2_scatterDataLabels");_92m.setAttribute("categoryValues", _mic);_92m.setAttribute("seriesValues", _xwf);_92m.setAttribute("measureValues", _3lc);_92m.setAttribute("labelCollisionMode", this._zpl._qik());_92m.setAttribute("displayDataLocation", this._gy8._qik());_92m.setAttribute("leaderLines", this._wpb.checked?"show":"hide");}_erh._iee(true);};