UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

144 lines (143 loc) 4.57 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-angular-core"; import { DependencyProperty } from "igniteui-angular-core"; import { runOn, enumGetBox, markType, markDep } from "igniteui-angular-core"; import { Path } from "igniteui-angular-core"; import { PropertyMetadata } from "igniteui-angular-core"; import { PolarLineSeriesBaseView } from "./PolarLineSeriesBaseView"; import { Defaults } from "./Defaults"; /** * @hidden */ export let PolarLineSeries = /*@__PURE__*/ (() => { class PolarLineSeries extends PolarLineSeriesBase { constructor() { super(); this.ab = PolarLineSeries.$; } bk() { return new PolarLineSeries(); } get_fn() { return true; } ct() { return new PolarLineSeriesView(this); } rg(a) { super.rg(a); this.ade = a; } adc(a) { let b = a; b.dn(); } g2(a, b) { if (this.x1(a, b)) { return true; } if (this.dp.count <= this.aas) { if (this.adg(a, b)) { return true; } } return false; } adg(a, b) { let c = this.cw; let d = c.dr; return this.g3(a, b, d.an); } add(a, b) { let c = b; c.dp(a.q, this.ik); this.zp.az(this, this.aah(), runOn(this, this.y7)); let d = false; let e = this.zp.b; if (e != null) { d = true; } if (d) { this.abw(-1, this.z3.count, b.t); } this.zp.ad(b.dr, true, false, true, false); } ac4() { return this.adf; } rp(a, b, c, d) { super.rp(a, b, c, d); switch (b) { case PolarLineSeries.$$p[0]: this.r7(false); this.qz(); break; } } } PolarLineSeries.$t = markType(PolarLineSeries, 'PolarLineSeries', PolarLineSeriesBase.$); PolarLineSeries.$$p = markDep(DependencyProperty, PropertyMetadata, PolarLineSeries, 'raisePropertyChanged', ['UnknownValuePlotting:adf:adi', [UnknownValuePlotting_$type, 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.xu = Defaults.e; } } dn() { this.dr.an = null; this.dq.an = null; this.a2(); } dp(a, b) { this.dm.ac1.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.il + 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 = markType(PolarLineSeriesView, 'PolarLineSeriesView', PolarLineSeriesBaseView.$); return PolarLineSeriesView; })();