igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
73 lines (72 loc) • 2.63 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 { ScatterBaseView } from "./ScatterBaseView";
import { Path } from "igniteui-react-core";
import { Defaults } from "./Defaults";
import { markType } from "igniteui-react-core";
import { Color } from "igniteui-react-core";
/**
* @hidden
*/
var ScatterLineSeriesView = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(ScatterLineSeriesView, _super);
function ScatterLineSeriesView(a) {
var _this = _super.call(this, a) || this;
_this.dq = new Path();
_this.dp = new Path();
return _this;
}
ScatterLineSeriesView.prototype.ax = function () {
_super.prototype.ax.call(this);
if (!this.r) {
this.b8.xc = Defaults.e;
}
};
ScatterLineSeriesView.prototype.bh = function () {
_super.prototype.bh.call(this);
};
ScatterLineSeriesView.prototype.bi = function () {
_super.prototype.bi.call(this);
var a = this.bv();
this.dp.an = this.dq.an;
this.dp._stroke = a;
this.dp.ad = this.f.ie + 3;
};
ScatterLineSeriesView.prototype.bc = function (a, b) {
_super.prototype.bc.call(this, a, b);
if (a.d) {
if (b) {
a.t(this.dp);
}
else {
a.t(this.dq);
}
}
};
ScatterLineSeriesView.prototype.dd = function (a) {
_super.prototype.dd.call(this, a);
this.dq.an = null;
this.dp.an = null;
};
ScatterLineSeriesView.prototype.aq = function (a) {
_super.prototype.aq.call(this, a);
this.f.bc.exportPathData(a, this.dq, "shape", ["Main"]);
};
ScatterLineSeriesView.prototype.ai = function () {
var a = new Color();
a.colorString = "rgba(95,95,95,0.5)";
this.f.v3 = a;
this.f.jm = 3;
this.f.jn = 1;
this.f.jo = 4;
this.f.hc = false;
};
ScatterLineSeriesView.$t = markType(ScatterLineSeriesView, 'ScatterLineSeriesView', ScatterBaseView.$);
return ScatterLineSeriesView;
}(ScatterBaseView));
export { ScatterLineSeriesView };