igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
62 lines (61 loc) • 2.06 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 IgrScalerParams = /** @class */ /*@__PURE__*/ (function () {
function IgrScalerParams() {
this.mounted = false;
}
Object.defineProperty(IgrScalerParams.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrScalerParams.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrScalerParams.prototype.onImplementationCreated = function () {
};
IgrScalerParams.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrScalerParams.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
});
IgrScalerParams.prototype.findByName = function (name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
};
return IgrScalerParams;
}());
export { IgrScalerParams };