UNPKG

igniteui-react-charts

Version:

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

144 lines (143 loc) 4.48 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 { 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 */ export let PolarLineSeries = /*@__PURE__*/ (() => { class PolarLineSeries extends PolarLineSeriesBase { bk() { return new PolarLineSeries(); } get_fo() { return true; } ct() { return new PolarLineSeriesView(this); } ri(a) { super.ri(a); this.adg = a; } constructor() { super(); this.ab = PolarLineSeries.$; } ade(a) { let b = a; b.dn(); } g3(a, b) { if (this.x3(a, b)) { return true; } if (this.dp.count <= this.aau) { if (this.adi(a, b)) { return true; } } return false; } adi(a, b) { let c = this.cw; let d = c.dr; return this.g4(a, b, d.an); } adf(a, b) { let c = b; c.dp(a.q, this.il); this.zr.az(this, this.aaj(), runOn(this, this.y9)); let d = false; let e = this.zr.b; if (e != null) { d = true; } if (d) { this.aby(-1, this.z5.count, b.t); } this.zr.ad(b.dr, true, false, true, false); } ac6() { return this.adh; } rr(a, b, c, d) { super.rr(a, b, c, d); switch (b) { case PolarLineSeries.$$p[0]: this.r9(false); this.q1(); break; } } } PolarLineSeries.$t = /*@__PURE__*/ markType(PolarLineSeries, 'PolarLineSeries', PolarLineSeriesBase.$); PolarLineSeries.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, PolarLineSeries, 'raisePropertyChanged', ['UnknownValuePlotting:adh:adk', [UnknownValuePlotting_$type, /*@__PURE__*/ enumGetBox(UnknownValuePlotting_$type, 1)]]); return PolarLineSeries; })(); /** * @hidden */ export let PolarLineSeriesView = /*@__PURE__*/ (() => { class PolarLineSeriesView extends PolarLineSeriesBaseView { constructor(a) { super(a); this.dm = null; this.dr = new Path(); this.dq = new Path(); this.dm = a; } a4() { super.a4(); if (!this.t) { this.ch.xw = Defaults.e; } } dn() { this.dr.an = null; this.dq.an = null; this.a2(); } dp(a, b) { this.dm.ac3.d(this.dr, a, b); this.a2(); } bp() { super.bp(); } bq() { super.bq(); let a = this.b3(); this.dq.an = this.dr.an; this.dq._stroke = a; this.dq.ad = this.f.im + 3; } bj(a, b) { super.bj(a, b); if (a.d) { if (b) { a.t(this.dq); } else { a.t(this.dr); } } } ax(a) { super.ax(a); this.f.bc.exportPathData(a, this.dr, "polarShape", ["Main"]); } } PolarLineSeriesView.$t = /*@__PURE__*/ markType(PolarLineSeriesView, 'PolarLineSeriesView', PolarLineSeriesBaseView.$); return PolarLineSeriesView; })();