_yc8.js 1.2 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. define(["_wpc", "com/ibm/vipr/VIPR"],function(_wpc,VIPR){"use strict";var _no7=VIPR.data.DataItemType;function _yc8(_dwm, _oti, _xyd, _o7i){ this._9km=_dwm; this._24i=_oti;this._wrl=null;this._9yh=_o7i;if(_xyd){var _63k=_xyd.selectSingleNode("*");switch(_63k.nodeName){case "vcScalarSpecified":var _mjn=parseFloat(_63k.getAttribute("min"));var _ljn=parseFloat(_63k.getAttribute("max"));if(!isNaN(_mjn)&&!isNaN(_ljn)){this._wrl={min: _mjn, max: _ljn, explicit: true};}break;case "vcScalarComputed":break;}}}_yc8.prototype.getDecoration=function(_vdn){if(_vdn=="baseLines"){return this._9yh;}return null;};_yc8.prototype.hasDecoration=function(_vdn){return _vdn==="baseLines"&&this._9yh&&this._9yh.length>0;};_yc8.prototype.getType=function(){return _no7.Cont;};_yc8.prototype.isCategory=function(){return false;};_yc8.prototype.getDomain=function(_hi3){return this._wrl;};_yc8.prototype.getFormatter=function(_1gh){ return this._24i;};_yc8.prototype.getItemClass=function(){return new _wpc(this._9km);};return _yc8;});