UNPKG

igniteui-angular-charts

Version:

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

83 lines (82 loc) 2.4 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { HorizontalStackedSeriesBase } from "./HorizontalStackedSeriesBase"; import { markType } from "igniteui-angular-core"; import { AxisRange } from "./AxisRange"; import { ChartSelection } from "./ChartSelection"; import { List$1 } from "igniteui-angular-core"; import { StackedSeriesView } from "./StackedSeriesView"; import { Defaults } from "./Defaults"; /** * @hidden */ export class StackedLineSeries extends HorizontalStackedSeriesBase { static { this.$t = markType(StackedLineSeries, 'StackedLineSeries', HorizontalStackedSeriesBase.$); } bk() { return new StackedLineSeries(); } get_fo() { return true; } constructor() { super(); this.ab = StackedLineSeries.$; } ac() { super.ac(); this.sa(false); } ct() { return new StackedLineSeriesView(this); } rj(a) { super.rj(a); this.adg = a; } ay(a) { if (this.itemsSource == null) { return null; } if (a == this.xAxis) { return new AxisRange(0, this.dp.count - 1); } if (a == this.yAxis) { this.acz(); return new AxisRange(this.acq, this.acp); } return null; } preferredCategoryMode(a) { return 0; } ak(a, b) { let c = new List$1(ChartSelection.$, 0); this.qk(a, c, b); return c.toArray(); } qk(a, b, c) { this.abr(a, b, c, this.z5, 0); } get useHighMarkerFidelity() { return this.aa2; } } /** * @hidden */ export class StackedLineSeriesView extends StackedSeriesView { static { this.$t = markType(StackedLineSeriesView, 'StackedLineSeriesView', StackedSeriesView.$); } constructor(a) { super(a); } a4() { super.a4(); if (!this.t) { this.di.xy = Defaults.e; } } }