UNPKG

igniteui-angular-charts

Version:

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

48 lines (47 loc) 1.47 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, markType } from "igniteui-angular-core"; import { StringBuilder } from "igniteui-angular-core"; /** * @hidden */ export class RingVisualData extends Base { constructor() { super(...arguments); this._arcs = null; } static { this.$t = markType(RingVisualData, 'RingVisualData'); } get arcs() { return this._arcs; } set arcs(a) { this._arcs = a; } serialize() { let a = new StringBuilder(0); let b = true; a.u("{"); if (this.arcs != null) { if (b) { b = false; } else { a.m(", "); } a.u("arcs: ["); for (let c = 0; c < this.arcs.count; c++) { if (c != 0) { a.m(", "); } a.m(this.arcs._inner[c].c()); } a.u("]"); } a.u("}"); return a.toString(); } }