UNPKG

igniteui-react-charts

Version:

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

128 lines (127 loc) 4.07 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_fl() { return true; } ct() { return new PolarLineSeriesView(this); } q3(a) { super.q3(a); this.acz = a; } constructor() { super(); this.ab = PolarLineSeries.$; } acx(a) { let b = a; b.dn(); } acy(a, b) { let c = b; c.dp(a.n, this.ie); this.za.az(this, this.z2(), runOn(this, this.ys)); let d = false; let e = this.za.b; if (e != null) { d = true; } if (d) { this.abh(-1, this.zo.count, b.t); } this.za.ad(b.dr, true, false, true, false); } acp() { return this.ac0; } rc(a, b, c, d) { super.rc(a, b, c, d); switch (b) { case PolarLineSeries.$$p[0]: this.ru(false); this.qn(); break; } } } PolarLineSeries.$t = /*@__PURE__*/ markType(PolarLineSeries, 'PolarLineSeries', PolarLineSeriesBase.$); PolarLineSeries.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, PolarLineSeries, 'raisePropertyChanged', ['UnknownValuePlotting:ac0:ac2', [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.xf = Defaults.e; } } dn() { this.dr.an = null; this.dq.an = null; this.a2(); } dp(a, b) { this.dm.acm.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.ig + 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; })();