igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
89 lines (88 loc) • 2.84 kB
JavaScript
/*
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-react-core";
import { AxisRange } from "./AxisRange";
import { ChartSelection } from "./ChartSelection";
import { List$1 } from "igniteui-react-core";
import { StackedSeriesView } from "./StackedSeriesView";
import { Defaults } from "./Defaults";
/**
* @hidden
*/
export let StackedLineSeries = /*@__PURE__*/ (() => {
class StackedLineSeries extends HorizontalStackedSeriesBase {
bk() {
return new StackedLineSeries();
}
get_fl() {
return true;
}
constructor() {
super();
this.ab = StackedLineSeries.$;
}
ac() {
super.ac();
this.ru(false);
}
ct() {
return new StackedLineSeriesView(this);
}
q3(a) {
super.q3(a);
this.ab9 = 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.abs();
return new AxisRange(this.abj, this.abi);
}
return null;
}
preferredCategoryMode(a) {
return 0;
}
ak(a, b) {
let c = new List$1(ChartSelection.$, 0);
this.p6(a, c, b);
return c.toArray();
}
p6(a, b, c) {
this.aak(a, b, c, this.yy, 0);
}
get useHighMarkerFidelity() {
return this.zv;
}
}
StackedLineSeries.$t = /*@__PURE__*/ markType(StackedLineSeries, 'StackedLineSeries', HorizontalStackedSeriesBase.$);
return StackedLineSeries;
})();
/**
* @hidden
*/
export let StackedLineSeriesView = /*@__PURE__*/ (() => {
class StackedLineSeriesView extends StackedSeriesView {
constructor(a) {
super(a);
}
a4() {
super.a4();
if (!this.t) {
this.di.xf = Defaults.e;
}
}
}
StackedLineSeriesView.$t = /*@__PURE__*/ markType(StackedLineSeriesView, 'StackedLineSeriesView', StackedSeriesView.$);
return StackedLineSeriesView;
})();