igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
167 lines (166 loc) • 5.58 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 let ChartDefaultTooltipSeriesData = /*@__PURE__*/ (() => {
class ChartDefaultTooltipSeriesData extends Base {
constructor() {
super(...arguments);
this._seriesTitle = null;
this._valueNames = null;
this._seriesValues = null;
this._axisLabel = null;
this._badgeShape = null;
this._badgeOutline = null;
this._badgeBrush = null;
this._badgeLineBrush = null;
this._seriesTitleBrush = null;
this._staticText = null;
}
get seriesTitle() {
return this._seriesTitle;
}
set seriesTitle(a) {
this._seriesTitle = a;
}
get valueNames() {
return this._valueNames;
}
set valueNames(a) {
this._valueNames = a;
}
get seriesValues() {
return this._seriesValues;
}
set seriesValues(a) {
this._seriesValues = a;
}
get axisLabel() {
return this._axisLabel;
}
set axisLabel(a) {
this._axisLabel = a;
}
get badgeShape() {
return this._badgeShape;
}
set badgeShape(a) {
this._badgeShape = a;
}
get badgeOutline() {
return this._badgeOutline;
}
set badgeOutline(a) {
this._badgeOutline = a;
}
get badgeBrush() {
return this._badgeBrush;
}
set badgeBrush(a) {
this._badgeBrush = a;
}
get badgeLineBrush() {
return this._badgeLineBrush;
}
set badgeLineBrush(a) {
this._badgeLineBrush = a;
}
get seriesTitleBrush() {
return this._seriesTitleBrush;
}
set seriesTitleBrush(a) {
this._seriesTitleBrush = a;
}
get staticText() {
return this._staticText;
}
set staticText(a) {
this._staticText = a;
}
serialize() {
let a = "[";
if (this.seriesValues != null) {
let b = true;
for (let c of fromEnum(this.seriesValues)) {
if (b) {
b = false;
}
else {
a += ", ";
}
a += "\"" + c + "\"";
}
a += "]";
}
let d = "[";
if (this.valueNames != null) {
let e = true;
for (let f of fromEnum(this.valueNames)) {
if (e) {
e = false;
}
else {
d += ", ";
}
d += "\"" + f + "\"";
}
d += "]";
}
let g = new StringBuilder(0);
g.u("{");
if (this.seriesTitle != null) {
g.l("seriesTitle: \"" + this.seriesTitle + "\"");
g.u(", ");
}
if (this.axisLabel != null) {
g.l("axisLabel: \"" + this.axisLabel + "\"");
g.u(", ");
}
if (this.badgeShape != null) {
g.l("badgeShape: \"" + this.badgeShape + "\"");
g.u(", ");
}
if (this.badgeBrush != null) {
g.l("badgeBrush: " + this.badgeBrush.serialize());
g.u(", ");
}
if (this.seriesTitleBrush != null) {
g.l("seriesTitleBrush: " + this.seriesTitleBrush.serialize());
g.u(", ");
}
if (this.badgeLineBrush != null) {
g.l("badgeLineBrush: " + this.badgeLineBrush.serialize());
g.u(", ");
}
if (this.badgeOutline != null) {
g.l("badgeOutline: " + this.badgeOutline.serialize());
g.u(", ");
}
if (this.staticText != null) {
g.l("staticText: \"" + this.staticText + "\"");
g.u(", ");
}
if (this.seriesValues != null) {
g.l("seriesValues: ");
g.u(a + ", ");
}
if (this.valueNames != null) {
g.l("valueNames: ");
g.u(d);
}
g.u("}");
return g.toString();
}
scaleByViewport(a) {
}
}
ChartDefaultTooltipSeriesData.$t = markType(ChartDefaultTooltipSeriesData, 'ChartDefaultTooltipSeriesData');
return ChartDefaultTooltipSeriesData;
})();