UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

41 lines (40 loc) 1.21 kB
/** * 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`. */ export class IgxScalerParams { constructor() { } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } /** * 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 referenceValue() { return this.i.b; } set referenceValue(v) { this.i.b = +v; } findByName(name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; } }