UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

131 lines (130 loc) 4.67 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 { __extends } from "tslib"; import { PolarLineSeriesBase } from "./PolarLineSeriesBase"; import { UnknownValuePlotting_$type } from "igniteui-react-core"; import { DependencyProperty } from "igniteui-react-core"; import { runOn, enumGetBox, markType, markDep } from "igniteui-react-core"; import { Path } from "igniteui-react-core"; import { PropertyMetadata } from "igniteui-react-core"; import { PolarLineSeriesBaseView } from "./PolarLineSeriesBaseView"; import { Defaults } from "./Defaults"; /** * @hidden */ var PolarLineSeries = /** @class */ /*@__PURE__*/ (function (_super) { __extends(PolarLineSeries, _super); function PolarLineSeries() { var _this = _super.call(this) || this; _this.ab = PolarLineSeries.$; return _this; } PolarLineSeries.prototype.bk = function () { return new PolarLineSeries(); }; PolarLineSeries.prototype.get_fk = function () { return true; }; PolarLineSeries.prototype.ct = function () { return new PolarLineSeriesView(this); }; PolarLineSeries.prototype.q1 = function (a) { _super.prototype.q1.call(this, a); this.acw = a; }; PolarLineSeries.prototype.acu = function (a) { var b = a; b.de(); }; PolarLineSeries.prototype.acv = function (a, b) { var c = b; c.df(a.n, this.id); this.y7.az(this, this.zz(), runOn(this, this.yp)); var d = false; var e = this.y7.b; if (e != null) { d = true; } if (d) { this.abe(-1, this.zl.count, b.r); } this.y7.ad(b.dh, true, false, true, false); }; PolarLineSeries.prototype.acm = function () { return this.acx; }; PolarLineSeries.prototype.ra = function (a, b, c, d) { _super.prototype.ra.call(this, a, b, c, d); switch (b) { case PolarLineSeries.$$p[0]: this.rs(false); this.ql(); break; } }; PolarLineSeries.$t = markType(PolarLineSeries, 'PolarLineSeries', PolarLineSeriesBase.$); PolarLineSeries.$$p = markDep(DependencyProperty, PropertyMetadata, PolarLineSeries, 'raisePropertyChanged', ['UnknownValuePlotting:acx:acz', [UnknownValuePlotting_$type, enumGetBox(UnknownValuePlotting_$type, 1)]]); return PolarLineSeries; }(PolarLineSeriesBase)); export { PolarLineSeries }; /** * @hidden */ var PolarLineSeriesView = /** @class */ /*@__PURE__*/ (function (_super) { __extends(PolarLineSeriesView, _super); function PolarLineSeriesView(a) { var _this = _super.call(this, a) || this; _this.dd = null; _this.dh = new Path(); _this.dg = new Path(); _this.dd = a; return _this; } PolarLineSeriesView.prototype.ax = function () { _super.prototype.ax.call(this); if (!this.r) { this.b8.xc = Defaults.e; } }; PolarLineSeriesView.prototype.de = function () { this.dh.an = null; this.dg.an = null; this.av(); }; PolarLineSeriesView.prototype.df = function (a, b) { this.dd.acj.d(this.dh, a, b); this.av(); }; PolarLineSeriesView.prototype.bh = function () { _super.prototype.bh.call(this); }; PolarLineSeriesView.prototype.bi = function () { _super.prototype.bi.call(this); var a = this.bv(); this.dg.an = this.dh.an; this.dg._stroke = a; this.dg.ad = this.f.ie + 3; }; PolarLineSeriesView.prototype.bc = function (a, b) { _super.prototype.bc.call(this, a, b); if (a.d) { if (b) { a.t(this.dg); } else { a.t(this.dh); } } }; PolarLineSeriesView.prototype.aq = function (a) { _super.prototype.aq.call(this, a); this.f.bc.exportPathData(a, this.dh, "polarShape", ["Main"]); }; PolarLineSeriesView.$t = markType(PolarLineSeriesView, 'PolarLineSeriesView', PolarLineSeriesBaseView.$); return PolarLineSeriesView; }(PolarLineSeriesBaseView)); export { PolarLineSeriesView };