igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
51 lines (50 loc) • 1.77 kB
JavaScript
/**
* Class containing several properties which are used as parameters passed to scaling operations in a SeriesViewer.
*
* Class containing several properties which are used as parameters passed to scaling operations in a `SeriesViewer`.
*/
var IgxScalerParams = /** @class */ /*@__PURE__*/ (function () {
function IgxScalerParams() {
}
Object.defineProperty(IgxScalerParams.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxScalerParams.prototype.onImplementationCreated = function () {
};
IgxScalerParams.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxScalerParams.prototype, "referenceValue", {
/**
* The series reference value.
* Typically, the reference value is the initial value of the series. The reference value is used by the PercentChangeYAxis, where all values in the series are scaled relative to the initial value.
*/
get: function () {
return this.i.b;
},
set: function (v) {
this.i.b = +v;
},
enumerable: false,
configurable: true
});
IgxScalerParams.prototype.findByName = function (name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
};
return IgxScalerParams;
}());
export { IgxScalerParams };