123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: rs
- // (C) Copyright IBM Corp. 2003, 2022.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- var _3hk=new _lcm("_3hk");_3hk._jgn=function(_u4c,_8rm){this._chn(_8rm);this._4le(_u4c);};_3hk._chn=function(_8rm){var _83m=_erh._vtc();this._d0n._qye=_83m.cloneNode(true);var _32h=_dth._l7b(this._d0n._qye, _8rm);this._d0n._fye=_32h.selectSingleNode("v2_legend");if(!this._d0n._fye){this._d0n._fye=_erh._u0g(_32h, "v2_legend");_s0n._rjk(this._d0n._fye, _n9g["v2_legend"]);var _iif=_n0n._565(_32h, "v2_legendTitle");this._d0n._fye.appendChild(_iif);}this._d0n._0jm=_8rm;};_3hk._5z2=function(){this._ou7=new _pgk( this._2oh( "divPosition" ), this._53g( "PositionList" ), this );this._yib();};_3hk._o46=function(){this._fdm();};_3hk._fdm=function(){if(this._ou7){this._ou7._fdm();delete this._ou7;}};_3hk._bgn=function(){this._6ll();this._3le();};_3hk._6ll=function(){var _zyk=this._sn7();if(_zyk){_erh._ybb();_8qn._cqh(this._d0n._0jm, 'v2_legend');if(this._2oh('chkShowLegend').checked){this._d0n._0jm.appendChild(this._d0n._fye);}_erh._iee(true);this._chn(this._d0n._0jm);}};_3hk._yib=function(){var _c2m=this._d0n._0jm.selectSingleNode('v2_legend');this._wm7(_c2m!==null);this._0dj();this._onk();this._v5a();this._up();};_3hk._wm7=function(_4xl){this._2oh('chkShowLegend').checked=_4xl;this._vl5(_4xl);};_3hk._xi4=function(_y4k){this._vl5(_y4k.checked);this._up();};_3hk._vl5=function(_4xl){this._obb('fldPosition', _4xl);this._5n7(_4xl);this._kl5(_4xl);};_3hk._5n7=function(_4xl){this._8q3('radLegendPositionPreset', _4xl);this._obb('lblLegendPositionPreset', _4xl);this._2oh( 'divPosition' ).style.visibility = _4xl?'visible':'hidden';};_3hk._kl5=function(_4xl){this._8q3('radLegendPositionAdvanced', _4xl);this._obb('lblLegendPositionAdvanced', _4xl);this._pj8('btnAdvanced', _4xl);this._obb('txtAdvanced', _4xl);};_3hk._onk=function(){if(this._d0n._fye.selectSingleNode('v2_legendPosition/v2_constrainedPosition')){this._2oh('radLegendPositionAdvanced').checked=true;}else{this._2oh('radLegendPositionPreset').checked=true;}};_3hk._v5a=function(){if(this._d0n._fye.selectSingleNode('v2_legendPosition/v2_constrainedPosition')){this._2oh( 'txtAdvanced' ).value = _frh._c6j( 'IDS_PROPVAL_DEFINED' );}else{this._2oh( 'txtAdvanced' ).value = '';}};_3hk._0dj=function(){var _xhl='topRight';var _43m=this._d0n._fye.selectSingleNode('v2_legendPosition/v2_legendPreset');if(_43m){var _pyf=_43m.getAttribute('legendPositionPreset');if(_pyf&&_pyf!=''){_xhl=_pyf;}}this._ou7._hwc(_xhl);this._d0n._xfa=_xhl;};_3hk._pph=function(){this._2oh('radLegendPositionAdvanced').checked=true;this._sn7();var _jra=_3hk._in2();var _s8f=false;_8fm._jgn("_uk3", this._xp9(), _jra, this._d0n._qye, this, _s8f);};_3hk._sn7=function(){if(this._2oh('chkShowLegend').checked){var _41k=this._in2();if(this._2oh('radLegendPositionPreset').checked){var _43m=_erh._h56(_41k, 'v2_legendPreset');_43m.setAttribute( 'legendPositionPreset', this._ou7._885().getAttribute( 'value' ) );_8qn._cqh(_41k, 'v2_constrainedPosition');}else{if(!_41k.selectSingleNode('v2_constrainedPosition')){_41k.appendChild(_n0n._ee());}_8qn._cqh(_41k, 'v2_legendPreset');}}return true;};_3hk._in2=function(){var _41k=_erh._h56(this._d0n._fye, 'v2_legendPosition');return _41k;};_3hk._pe4=function(_a6k,_mzj,_zdf){switch(_a6k){case this._ou7:this._2oh('radLegendPositionPreset').checked=true;var _d3j=_mzj.getAttribute('value');if(_d3j=='centerMiddle'){_d3j=this._d0n._xfa?this._d0n._xfa:'rightTop';this._ou7._hwc(_d3j);}this._d0n._xfa=_d3j;break;}};_3hk._io9=function(_e5m){this._v5a();};_3hk._up=function(){if(_zpn._qsh["hal"]["enableAccessibility"]){this._ou7._mqh(this._2oh('radLegendPositionPreset').checked);this._pj8( 'btnAdvanced', this._2oh( 'radLegendPositionAdvanced' ).checked );this._obb( 'txtAdvanced', this._2oh( 'radLegendPositionAdvanced' ).checked );}};
|