_2de.js 2.1 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 _2de=new _lcm("_2de");_2de._jgn=function(_u4c,_zpi,_jxm){this._0jm=_zpi;this._4le(_u4c, null, _jxm);};_2de._fdm=function(){if(this._zpl){this._zpl._fdm();delete this._zpl;}if(this._tve){this._tve._fdm();delete this._tve;}if(this._gy8){this._gy8._fdm();delete this._gy8;}this._wpb=null;};_2de._5z2=function(){this._wpb=this._2oh("chkShowLeaders");this._zpl=new _jgk(this._2oh("cboMode"), _frh._53g('cboChartLabelCollisionMode'), null, this);this._05i=new _pgk(this._2oh("divType"), this._53g('labelType'), this);this._gy8=new _jgk(this._2oh("cboValueLocation"), _frh._53g('cboDisplayDataLocation'), null, this);var _92m=this._0jm.selectSingleNode(".//v2_chartDataLabels");if(!_92m){this._wpb.checked=false;this._zpl._hwc("fine_stagger");this._05i._gwc(0);this._gy8._gwc(0);}else{this._zpl._hwc(_92m.getAttribute("labelCollisionMode"));this._05i._hwc(_92m.getAttribute("labelValueType"));this._gy8._hwc(_92m.getAttribute("displayDataLocation"));this._wpb.checked=_92m.getAttribute("leaderLines")=="show";}this._ynk();};_2de._pe4=function(_a6k,_mzj,_zdf){this._ynk(); };_2de._ynk=function(){var _mzj=this._05i._885();var _zwk=_mzj.getAttribute("value") != "none";this._obb("lblValueLocation", _zwk);this._gy8._mqh(_zwk);this._obb("lblCollision", _zwk);this._zpl._mqh(_zwk);this._j96("chkShowLeaders", _zwk);this._obb("lblShowLeaders", _zwk);};_2de._o46=function(){this._fdm();};_2de._bgn=function(){this._s1d();this._3le();};_2de._6ll=function(){this._s1d();this._4x9();};_2de._s1d=function(){_erh._ybb();var _4ri=this._05i._885();var _4oc=_4ri.getAttribute("value");if(_4oc=="none"){_8qn._cqh(this._0jm, "v2_chartDataLabels");}else{var _92m=_erh._h56(this._0jm, "v2_chartDataLabels");_92m.setAttribute("displayDataLocation", this._gy8._qik());_92m.setAttribute("labelCollisionMode", this._zpl._qik()); _92m.setAttribute("leaderLines", this._wpb.checked?"show":"hide"); _92m.setAttribute("labelValueType", _4oc);}_erh._iee(true);};