igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
57 lines (56 loc) • 1.71 kB
JavaScript
/*
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-angular-core";
import { StringBuilder } from "igniteui-angular-core";
/**
* @hidden
*/
export class ArcVisualData extends Base {
constructor() {
super(...arguments);
this.a = null;
this.b = null;
}
static { this.$t = markType(ArcVisualData, 'ArcVisualData'); }
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.m(", ");
}
a.m("leaderLine: ");
a.u(this.b.serialize());
}
if (this.a != null) {
if (b) {
b = false;
}
else {
a.m(", ");
}
a.u("slices: [");
for (let c = 0; c < this.a.count; c++) {
if (c != 0) {
a.m(", ");
}
a.m(this.a._inner[c].serialize());
}
}
a.u("]}");
return a.toString();
}
}