igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
95 lines (94 loc) • 3.46 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 { __extends } from "tslib";
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
*/
var StackedLineSeries = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(StackedLineSeries, _super);
function StackedLineSeries() {
var _this = _super.call(this) || this;
_this.ab = StackedLineSeries.$;
return _this;
}
StackedLineSeries.prototype.bk = function () {
return new StackedLineSeries();
};
StackedLineSeries.prototype.get_fl = function () {
return true;
};
StackedLineSeries.prototype.ac = function () {
_super.prototype.ac.call(this);
this.rz(false);
};
StackedLineSeries.prototype.ct = function () {
return new StackedLineSeriesView(this);
};
StackedLineSeries.prototype.q8 = function (a) {
_super.prototype.q8.call(this, a);
this.acf = a;
};
StackedLineSeries.prototype.ay = function (a) {
if (this.itemsSource == null) {
return null;
}
if (a == this.xAxis) {
return new AxisRange(0, this.dp.count - 1);
}
if (a == this.yAxis) {
this.aby();
return new AxisRange(this.abp, this.abo);
}
return null;
};
StackedLineSeries.prototype.preferredCategoryMode = function (a) {
return 0;
};
StackedLineSeries.prototype.ak = function (a, b) {
var c = new List$1(ChartSelection.$, 0);
this.qa(a, c, b);
return c.toArray();
};
StackedLineSeries.prototype.qa = function (a, b, c) {
this.aaq(a, b, c, this.y4, 0);
};
Object.defineProperty(StackedLineSeries.prototype, "useHighMarkerFidelity", {
get: function () {
return this.z1;
},
enumerable: false,
configurable: true
});
StackedLineSeries.$t = markType(StackedLineSeries, 'StackedLineSeries', HorizontalStackedSeriesBase.$);
return StackedLineSeries;
}(HorizontalStackedSeriesBase));
export { StackedLineSeries };
/**
* @hidden
*/
var StackedLineSeriesView = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(StackedLineSeriesView, _super);
function StackedLineSeriesView(a) {
return _super.call(this, a) || this;
}
StackedLineSeriesView.prototype.a4 = function () {
_super.prototype.a4.call(this);
if (!this.t) {
this.di.xl = Defaults.e;
}
};
StackedLineSeriesView.$t = markType(StackedLineSeriesView, 'StackedLineSeriesView', StackedSeriesView.$);
return StackedLineSeriesView;
}(StackedSeriesView));
export { StackedLineSeriesView };