UNPKG

igniteui-react-charts

Version:

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

71 lines (70 loc) 2.26 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 { 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 */ export let ScatterSplineSeriesView = /*@__PURE__*/ (() => { class ScatterSplineSeriesView extends ScatterBaseView { constructor(a) { super(a); this.dq = new Path(); this.dp = new Path(); } ax() { super.ax(); if (!this.r) { this.b8.xc = Defaults.e; } } bh() { super.bh(); } bi() { super.bi(); this.dp.an = this.dq.an; let a = this.bv(); this.dp._stroke = a; this.dp.ad = this.f.ie + 3; } bc(a, b) { super.bc(a, b); if (a.d) { if (b) { a.t(this.dp); } else { a.t(this.dq); } } } dd(a) { super.dd(a); this.dq.an = null; this.dp.an = null; } aq(a) { super.aq(a); this.f.bc.exportPathData(a, this.dq, "shape", ["Main"]); } ai() { let 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; } } ScatterSplineSeriesView.$t = /*@__PURE__*/ markType(ScatterSplineSeriesView, 'ScatterSplineSeriesView', ScatterBaseView.$); return ScatterSplineSeriesView; })();