UNPKG

igniteui-react-charts

Version:

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

60 lines (59 loc) 1.97 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 { Base, fromEnum, markType } from "igniteui-react-core"; import { StringBuilder } from "igniteui-react-core"; /** * @hidden */ export let ArcVisualData = /*@__PURE__*/ (() => { class ArcVisualData extends Base { constructor() { super(...arguments); this.a = null; this.b = null; } d(a) { for (let b of fromEnum(this.a)) { b.scaleByViewport(a); } } c() { let a = new StringBuilder(0); let b = true; a.u("{"); if (this.b != null) { if (b) { b = false; } else { a.l(", "); } a.l("leaderLine: "); a.u(this.b.serialize()); } if (this.a != null) { if (b) { b = false; } else { a.l(", "); } a.u("slices: ["); for (let c = 0; c < this.a.count; c++) { if (c != 0) { a.l(", "); } a.l(this.a._inner[c].serialize()); } } a.u("]}"); return a.toString(); } } ArcVisualData.$t = /*@__PURE__*/ markType(ArcVisualData, 'ArcVisualData'); return ArcVisualData; })();