UNPKG

igniteui-angular-charts

Version:

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

49 lines (48 loc) 1.43 kB
import { DomainChartTestingInfo as DomainChartTestingInfo_internal } from "./DomainChartTestingInfo"; export class IgxDomainChartTestingInfo { constructor() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } createImplementation() { return new DomainChartTestingInfo_internal(); } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } get mainDataChart() { const r = this.i.a; if (r == null) { return null; } return r.externalObject; } set mainDataChart(v) { v == null ? this.i.a = null : this.i.a = v.i; } findByName(name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } if (this.mainDataChart && this.mainDataChart.name && this.mainDataChart.name == name) { return this.mainDataChart; } return null; } }