igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
34 lines (33 loc) • 802 B
JavaScript
/**
* Provides data for GetCustomContourValues event.
*/
export class IgxCustomContourValueResolverEventArgs {
constructor() {
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
onImplementationCreated() {
}
_provideImplementation(i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
}
get values() {
return this.i.values;
}
get contourValues() {
return this.i.contourValues;
}
set contourValues(v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
const re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.contourValues = v;
}
}