igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
1,395 lines • 65.4 kB
JavaScript
import { __extends } from "tslib";
import { IgcAxisComponent } from "./igc-axis-component";
import { DataToolTipLayerGroupingMode_$type } from "igniteui-webcomponents-core";
import { DataTooltipGroupedPositionX_$type } from "igniteui-webcomponents-core";
import { DataTooltipGroupedPositionY_$type } from "igniteui-webcomponents-core";
import { DataAbbreviationMode_$type } from "igniteui-webcomponents-core";
import { DataLegendValueMode_$type } from "igniteui-webcomponents-core";
import { DataLegendHeaderDateMode_$type } from "igniteui-webcomponents-core";
import { DataLegendHeaderTimeMode_$type } from "igniteui-webcomponents-core";
import { DataLegendSummaryType_$type } from "igniteui-webcomponents-core";
import { LegendItemBadgeShape_$type } from "igniteui-webcomponents-core";
import { DataLegendLayoutMode_$type } from "igniteui-webcomponents-core";
import { DataLegendUnitsMode_$type } from "igniteui-webcomponents-core";
import { DataLegendLabelMode_$type } from "igniteui-webcomponents-core";
import { IgcAnnotationLayerComponent } from "./igc-annotation-layer-component";
import { DataToolTipLayer } from "./DataToolTipLayer";
import { getAllPropertyNames, toSpinal, ensureBool, ensureEnum, enumToString, brushToString, stringToBrush, arrayFindByName } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
import { Thickness } from "igniteui-webcomponents-core";
import { FontInfo } from "igniteui-webcomponents-core";
/**
* Represents an annotation layer that displays grouped tooltips with summaries for series.
*/
var IgcDataToolTipLayerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgcDataToolTipLayerComponent, _super);
function IgcDataToolTipLayerComponent() {
return _super.call(this) || this;
}
IgcDataToolTipLayerComponent.prototype.createImplementation = function () {
return new DataToolTipLayer();
};
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcDataToolTipLayerComponent.prototype.connectedCallback = function () {
if (_super.prototype["connectedCallback"]) {
_super.prototype["connectedCallback"].call(this);
}
if (this.i.connectedCallback) {
this.i.connectedCallback();
}
if (!this._attached) {
this._attached = true;
this._flushQueuedAttributes();
}
};
IgcDataToolTipLayerComponent.prototype.disconnectedCallback = function () {
if (_super.prototype["disconnectedCallback"]) {
_super.prototype["disconnectedCallback"].call(this);
}
if (this.i.disconnectedCallback) {
this.i.disconnectedCallback();
}
if (this._attached) {
this._attached = false;
}
};
Object.defineProperty(IgcDataToolTipLayerComponent, "observedAttributes", {
get: function () {
if (IgcDataToolTipLayerComponent._observedAttributesIgcDataToolTipLayerComponent == null) {
var names = getAllPropertyNames(IgcDataToolTipLayerComponent);
for (var i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcDataToolTipLayerComponent._observedAttributesIgcDataToolTipLayerComponent = names;
}
return IgcDataToolTipLayerComponent._observedAttributesIgcDataToolTipLayerComponent;
},
enumerable: false,
configurable: true
});
IgcDataToolTipLayerComponent.register = function () {
if (!IgcDataToolTipLayerComponent._isElementRegistered) {
IgcDataToolTipLayerComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcDataToolTipLayerComponent.htmlTagName, IgcDataToolTipLayerComponent);
}
};
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "isAnnotationHoverLayer", {
/**
* Gets whether the series is an annotation layer displayed only when hovering over the chart.
*/
get: function () {
return this.i.et;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "isDefaultTooltipBehaviorDisabled", {
/**
* Gets whether the default tooltip behaviors for the chart are disabled if this layer is present.
*/
get: function () {
return this.i.e4;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "targetAxis", {
/**
* Gets or sets the Axis to target this annotation to. If null, this annotation layer will not render content.
*/
get: function () {
var r = this.i.aaj;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = IgcAxisComponent._createFromInternal(r);
if (e) {
e._implementation = r;
}
r.externalObject = e;
}
return r.externalObject;
},
set: function (v) {
if (v != null && this._stylingContainer && v._styling)
v._styling(this._stylingContainer, this, this);
v == null ? this.i.aaj = null : this.i.aaj = v.i;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "useInterpolation", {
/**
* Gets or sets whether to use value interpolation when drawing the tooltips.
*/
get: function () {
return this.i.ab1;
},
set: function (v) {
this.i.ab1 = ensureBool(v);
this._a("useInterpolation", this.i.ab1);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupingMode", {
/**
* Gets or sets the grouping mode to apply to use for the tooltip layer.
*/
get: function () {
return this.i.aa2;
},
set: function (v) {
this.i.aa2 = ensureEnum(DataToolTipLayerGroupingMode_$type, v);
this._a("groupingMode", enumToString(DataToolTipLayerGroupingMode_$type, this.i.aa2));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "actualGroupingMode", {
/**
* Gets the actual resolved tooltip layer grouping mode.
*/
get: function () {
return this.i.aa1;
},
set: function (v) {
this.i.aa1 = ensureEnum(DataToolTipLayerGroupingMode_$type, v);
this._a("actualGroupingMode", enumToString(DataToolTipLayerGroupingMode_$type, this.i.aa1));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "positionOffsetX", {
/**
* Gets or sets the offset of the tooltip layer on the X axis.
*/
get: function () {
return this.i.aca;
},
set: function (v) {
this.i.aca = +v;
this._a("positionOffsetX", this.i.aca);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "positionOffsetY", {
/**
* Gets or sets the offset of the tooltip layer on the Y axis.
*/
get: function () {
return this.i.acb;
},
set: function (v) {
this.i.acb = +v;
this._a("positionOffsetY", this.i.acb);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "defaultPositionOffsetX", {
/**
* Gets or sets the default offset of the tooltip layer on the X axis.
*/
get: function () {
return this.i.ab8;
},
set: function (v) {
this.i.ab8 = +v;
this._a("defaultPositionOffsetX", this.i.ab8);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "defaultPositionOffsetY", {
/**
* Gets or sets the default offset of the tooltip layer on the Y axis.
*/
get: function () {
return this.i.ab9;
},
set: function (v) {
this.i.ab9 = +v;
this._a("defaultPositionOffsetY", this.i.ab9);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupedPositionModeX", {
/**
* Gets or sets the tooltip position mode on the X axis for grouped series.
*/
get: function () {
return this.i.aau;
},
set: function (v) {
this.i.aau = ensureEnum(DataTooltipGroupedPositionX_$type, v);
this._a("groupedPositionModeX", enumToString(DataTooltipGroupedPositionX_$type, this.i.aau));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "actualGroupedPositionModeX", {
/**
* Gets the actual resolved tooltip position mode on the X axis for grouped series.
*/
get: function () {
return this.i.aat;
},
set: function (v) {
this.i.aat = ensureEnum(DataTooltipGroupedPositionX_$type, v);
this._a("actualGroupedPositionModeX", enumToString(DataTooltipGroupedPositionX_$type, this.i.aat));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupedPositionModeY", {
/**
* Gets or sets the tooltip position mode on the Y axis for grouped series.
*/
get: function () {
return this.i.aay;
},
set: function (v) {
this.i.aay = ensureEnum(DataTooltipGroupedPositionY_$type, v);
this._a("groupedPositionModeY", enumToString(DataTooltipGroupedPositionY_$type, this.i.aay));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "actualGroupedPositionModeY", {
/**
* Gets the actual resolved tooltip position mode on the Y axis for grouped series.
*/
get: function () {
return this.i.aax;
},
set: function (v) {
this.i.aax = ensureEnum(DataTooltipGroupedPositionY_$type, v);
this._a("actualGroupedPositionModeY", enumToString(DataTooltipGroupedPositionY_$type, this.i.aax));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "shouldUpdateWhenSeriesDataChanges", {
/**
* Gets or sets whether the data legend should update when the series data is mutated.
*/
get: function () {
return this.i.ab0;
},
set: function (v) {
this.i.ab0 = ensureBool(v);
this._a("shouldUpdateWhenSeriesDataChanges", this.i.ab0);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "includedSeries", {
/**
* Gets or sets indexes, titles, or names of series to include in displaying in the data legend, e.g. "0, 1" or "Series1 Title, Series2 Title"
* The ExcludedSeries property takes precedence over values of IncludedSeries property
*/
get: function () {
return this.i.aag;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aag = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "excludedSeries", {
/**
* Gets or sets indexes, titles, or names of series to exclude from displaying in the data legend, e.g. "0, 1" or "Series1 Title, Series2 Title"
* The ExcludedSeries property takes precedence over values of IncludedSeries property
*/
get: function () {
return this.i.aab;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aab = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "includedColumns", {
/**
* Gets or sets names of data columns or their labels to include in displaying in the data tooltip, e.g. "High, Low" or "H, L"
* The ExcludedColumns property takes precedence over values of IncludedColumns property
*/
get: function () {
return this.i.aaf;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aaf = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "excludedColumns", {
/**
* Gets or sets names of data columns or their labels to exclude from displaying in the data tooltip, e.g. "High, Low" or "H, L"
* The ExcludedColumns property takes precedence over values of IncludedColumns property
*/
get: function () {
return this.i.aaa;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aaa = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueFormatAbbreviation", {
/**
* Gets or sets mode for abbreviating large numbers displayed in the legend
* This property is ignored when setting ValueFormatSpecifiers or ValueFormatString properties
*/
get: function () {
return this.i.aak;
},
set: function (v) {
this.i.aak = ensureEnum(DataAbbreviationMode_$type, v);
this._a("valueFormatAbbreviation", enumToString(DataAbbreviationMode_$type, this.i.aak));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueFormatMaxFractions", {
/**
* Gets or sets maximum digits for formatting numbers displayed in the legend
* This property is ignored when setting ValueFormatSpecifiers or ValueFormatString properties
*/
get: function () {
return this.i.ada;
},
set: function (v) {
this.i.ada = +v;
this._a("valueFormatMaxFractions", this.i.ada);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueFormatMinFractions", {
/**
* Gets or sets minimum digits for formatting numbers displayed in the legend
* This property is ignored when setting ValueFormatSpecifiers or ValueFormatString properties
*/
get: function () {
return this.i.adb;
},
set: function (v) {
this.i.adb = +v;
this._a("valueFormatMinFractions", this.i.adb);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueFormatMode", {
/**
* Gets or sets the mode for displaying values in the data legend, e.g. Currency ($500.25), Decimal (500.25), Integer (500)
*/
get: function () {
return this.i.aar;
},
set: function (v) {
this.i.aar = ensureEnum(DataLegendValueMode_$type, v);
this._a("valueFormatMode", enumToString(DataLegendValueMode_$type, this.i.aar));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueFormatCulture", {
/**
* Gets or sets globalization culture when displaying values as currencies, e.g. use "en-GB" to display British pound symbol when the ValueFormatMode property is set to 'Currency' mode
* This property is ignored when setting ValueFormatSpecifiers or ValueFormatString properties
*/
get: function () {
return this.i.afb;
},
set: function (v) {
this.i.afb = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueFormatUseGrouping", {
/**
* Gets or sets whether or not use grouping separator, e.g, 15,000 for 15000
* This property is ignored when setting ValueFormatSpecifiers or ValueFormatString properties
*/
get: function () {
return this.i.ab2;
},
set: function (v) {
this.i.ab2 = ensureBool(v);
this._a("valueFormatUseGrouping", this.i.ab2);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueFormatString", {
/**
* Gets or sets the format string for values displayed in the data legend.
*/
get: function () {
return this.i.afh;
},
set: function (v) {
this.i.afh = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueFormatSpecifiers", {
/**
* Gets or sets the format specifiers to use with the ValueFormatString string.
*/
get: function () {
return this.i.aah;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aah = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueRowMarginBottom", {
get: function () {
return this.i.aig ? this.i.aig.bottom : NaN;
},
set: function (v) {
this.ensureValueRowMargin();
this.i.aig.bottom = +v;
this._a("valueRowMarginBottom", this.i.aig.bottom);
this.i.aig = this.i.aig;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueRowMarginLeft", {
get: function () {
return this.i.aig ? this.i.aig.left : NaN;
},
set: function (v) {
this.ensureValueRowMargin();
this.i.aig.left = +v;
this._a("valueRowMarginLeft", this.i.aig.left);
this.i.aig = this.i.aig;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueRowMarginRight", {
get: function () {
return this.i.aig ? this.i.aig.right : NaN;
},
set: function (v) {
this.ensureValueRowMargin();
this.i.aig.right = +v;
this._a("valueRowMarginRight", this.i.aig.right);
this.i.aig = this.i.aig;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueRowMarginTop", {
get: function () {
return this.i.aig ? this.i.aig.top : NaN;
},
set: function (v) {
this.ensureValueRowMargin();
this.i.aig.top = +v;
this._a("valueRowMarginTop", this.i.aig.top);
this.i.aig = this.i.aig;
},
enumerable: false,
configurable: true
});
IgcDataToolTipLayerComponent.prototype.ensureValueRowMargin = function () {
if (this.i.aig) {
return;
}
this.i.aig = new Thickness(2);
};
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueRowVisible", {
/**
* Gets or sets whether to show series rows.
*/
get: function () {
return this.i.ab3;
},
set: function (v) {
this.i.ab3 = ensureBool(v);
this._a("valueRowVisible", this.i.ab3);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueTextWhenMissingData", {
/**
* Gets or sets text displayed when data column is missing a value, e.g. "no data"
*/
get: function () {
return this.i.afq;
},
set: function (v) {
this.i.afq = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueTextUseSeriesColors", {
/**
* Gets or sets whether to use series colors when displaying values in the legend
*/
get: function () {
return this.i.ab4;
},
set: function (v) {
this.i.ab4 = ensureBool(v);
this._a("valueTextUseSeriesColors", this.i.ab4);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueTextMarginBottom", {
get: function () {
return this.i.aih ? this.i.aih.bottom : NaN;
},
set: function (v) {
this.ensureValueTextMargin();
this.i.aih.bottom = +v;
this._a("valueTextMarginBottom", this.i.aih.bottom);
this.i.aih = this.i.aih;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueTextMarginLeft", {
get: function () {
return this.i.aih ? this.i.aih.left : NaN;
},
set: function (v) {
this.ensureValueTextMargin();
this.i.aih.left = +v;
this._a("valueTextMarginLeft", this.i.aih.left);
this.i.aih = this.i.aih;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueTextMarginRight", {
get: function () {
return this.i.aih ? this.i.aih.right : NaN;
},
set: function (v) {
this.ensureValueTextMargin();
this.i.aih.right = +v;
this._a("valueTextMarginRight", this.i.aih.right);
this.i.aih = this.i.aih;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueTextMarginTop", {
get: function () {
return this.i.aih ? this.i.aih.top : NaN;
},
set: function (v) {
this.ensureValueTextMargin();
this.i.aih.top = +v;
this._a("valueTextMarginTop", this.i.aih.top);
this.i.aih = this.i.aih;
},
enumerable: false,
configurable: true
});
IgcDataToolTipLayerComponent.prototype.ensureValueTextMargin = function () {
if (this.i.aih) {
return;
}
this.i.aih = new Thickness(2);
};
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueTextColor", {
/**
* Gets or sets the units text color.
*/
get: function () {
return brushToString(this.i.ahz);
},
set: function (v) {
this.i.ahz = stringToBrush(v);
this._a("valueTextColor", brushToString(this.i.ahz));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "valueTextStyle", {
/**
* Gets or Sets the style to use for the units text.
*/
get: function () {
if (this.i.abq == null) {
return null;
}
return this.i.abq.fontString;
},
set: function (v) {
var fi = new FontInfo();
fi.fontString = v;
this.i.abq = fi;
this._a("valueTextStyle", this.i.abq != null ? this.i.abq.fontString : "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerFormatString", {
/**
* Gets or sets the format string for header text displayed in the data legend.
*/
get: function () {
return this.i.ady;
},
set: function (v) {
this.i.ady = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerFormatSpecifiers", {
/**
* Gets or sets the format specifiers to use with the HeaderFormatString string.
*/
get: function () {
return this.i.aae;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aae = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerFormatCulture", {
/**
* Gets or sets globalization culture when displaying header as date time
* This property is ignored when setting HeaderFormatSpecifiers or HeaderFormatString properties
*/
get: function () {
return this.i.adu;
},
set: function (v) {
this.i.adu = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerFormatDate", {
/**
* Gets or sets date format for the header
* This property is ignored when setting HeaderFormatSpecifiers or HeaderFormatString properties
*/
get: function () {
return this.i.aal;
},
set: function (v) {
this.i.aal = ensureEnum(DataLegendHeaderDateMode_$type, v);
this._a("headerFormatDate", enumToString(DataLegendHeaderDateMode_$type, this.i.aal));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerFormatTime", {
/**
* Gets or sets time format for the header
* This property is ignored when setting HeaderFormatSpecifiers or HeaderFormatString properties
*/
get: function () {
return this.i.aam;
},
set: function (v) {
this.i.aam = ensureEnum(DataLegendHeaderTimeMode_$type, v);
this._a("headerFormatTime", enumToString(DataLegendHeaderTimeMode_$type, this.i.aam));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerText", {
/**
* Gets or sets the HeaderText for the data legend.
*/
get: function () {
return this.i.ad3;
},
set: function (v) {
this.i.ad3 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerTextColor", {
/**
* Gets or sets the header text color.
*/
get: function () {
return brushToString(this.i.ahr);
},
set: function (v) {
this.i.ahr = stringToBrush(v);
this._a("headerTextColor", brushToString(this.i.ahr));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerTextMarginBottom", {
get: function () {
return this.i.aia ? this.i.aia.bottom : NaN;
},
set: function (v) {
this.ensureHeaderTextMargin();
this.i.aia.bottom = +v;
this._a("headerTextMarginBottom", this.i.aia.bottom);
this.i.aia = this.i.aia;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerTextMarginLeft", {
get: function () {
return this.i.aia ? this.i.aia.left : NaN;
},
set: function (v) {
this.ensureHeaderTextMargin();
this.i.aia.left = +v;
this._a("headerTextMarginLeft", this.i.aia.left);
this.i.aia = this.i.aia;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerTextMarginRight", {
get: function () {
return this.i.aia ? this.i.aia.right : NaN;
},
set: function (v) {
this.ensureHeaderTextMargin();
this.i.aia.right = +v;
this._a("headerTextMarginRight", this.i.aia.right);
this.i.aia = this.i.aia;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerTextMarginTop", {
get: function () {
return this.i.aia ? this.i.aia.top : NaN;
},
set: function (v) {
this.ensureHeaderTextMargin();
this.i.aia.top = +v;
this._a("headerTextMarginTop", this.i.aia.top);
this.i.aia = this.i.aia;
},
enumerable: false,
configurable: true
});
IgcDataToolTipLayerComponent.prototype.ensureHeaderTextMargin = function () {
if (this.i.aia) {
return;
}
this.i.aia = new Thickness(2);
};
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerRowMarginBottom", {
get: function () {
return this.i.ah9 ? this.i.ah9.bottom : NaN;
},
set: function (v) {
this.ensureHeaderRowMargin();
this.i.ah9.bottom = +v;
this._a("headerRowMarginBottom", this.i.ah9.bottom);
this.i.ah9 = this.i.ah9;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerRowMarginLeft", {
get: function () {
return this.i.ah9 ? this.i.ah9.left : NaN;
},
set: function (v) {
this.ensureHeaderRowMargin();
this.i.ah9.left = +v;
this._a("headerRowMarginLeft", this.i.ah9.left);
this.i.ah9 = this.i.ah9;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerRowMarginRight", {
get: function () {
return this.i.ah9 ? this.i.ah9.right : NaN;
},
set: function (v) {
this.ensureHeaderRowMargin();
this.i.ah9.right = +v;
this._a("headerRowMarginRight", this.i.ah9.right);
this.i.ah9 = this.i.ah9;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerRowMarginTop", {
get: function () {
return this.i.ah9 ? this.i.ah9.top : NaN;
},
set: function (v) {
this.ensureHeaderRowMargin();
this.i.ah9.top = +v;
this._a("headerRowMarginTop", this.i.ah9.top);
this.i.ah9 = this.i.ah9;
},
enumerable: false,
configurable: true
});
IgcDataToolTipLayerComponent.prototype.ensureHeaderRowMargin = function () {
if (this.i.ah9) {
return;
}
this.i.ah9 = new Thickness(2);
};
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerRowVisible", {
/**
* Gets or sets whether to show Header row.
*/
get: function () {
return this.i.abt;
},
set: function (v) {
this.i.abt = ensureBool(v);
this._a("headerRowVisible", this.i.abt);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "headerTextStyle", {
/**
* Gets or Sets the style to use for the header text.
*/
get: function () {
if (this.i.abi == null) {
return null;
}
return this.i.abi.fontString;
},
set: function (v) {
var fi = new FontInfo();
fi.fontString = v;
this.i.abi = fi;
this._a("headerTextStyle", this.i.abi != null ? this.i.abi.fontString : "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupRowVisible", {
/**
* Gets or sets whether to show Header row.
*/
get: function () {
return this.i.abs;
},
set: function (v) {
this.i.abs = ensureBool(v);
this._a("groupRowVisible", this.i.abs);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupTextColor", {
/**
* Gets or sets the Group text color.
*/
get: function () {
return brushToString(this.i.ahq);
},
set: function (v) {
this.i.ahq = stringToBrush(v);
this._a("groupTextColor", brushToString(this.i.ahq));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupTextMarginBottom", {
get: function () {
return this.i.ah8 ? this.i.ah8.bottom : NaN;
},
set: function (v) {
this.ensureGroupTextMargin();
this.i.ah8.bottom = +v;
this._a("groupTextMarginBottom", this.i.ah8.bottom);
this.i.ah8 = this.i.ah8;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupTextMarginLeft", {
get: function () {
return this.i.ah8 ? this.i.ah8.left : NaN;
},
set: function (v) {
this.ensureGroupTextMargin();
this.i.ah8.left = +v;
this._a("groupTextMarginLeft", this.i.ah8.left);
this.i.ah8 = this.i.ah8;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupTextMarginRight", {
get: function () {
return this.i.ah8 ? this.i.ah8.right : NaN;
},
set: function (v) {
this.ensureGroupTextMargin();
this.i.ah8.right = +v;
this._a("groupTextMarginRight", this.i.ah8.right);
this.i.ah8 = this.i.ah8;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupTextMarginTop", {
get: function () {
return this.i.ah8 ? this.i.ah8.top : NaN;
},
set: function (v) {
this.ensureGroupTextMargin();
this.i.ah8.top = +v;
this._a("groupTextMarginTop", this.i.ah8.top);
this.i.ah8 = this.i.ah8;
},
enumerable: false,
configurable: true
});
IgcDataToolTipLayerComponent.prototype.ensureGroupTextMargin = function () {
if (this.i.ah8) {
return;
}
this.i.ah8 = new Thickness(2);
};
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupRowMarginBottom", {
get: function () {
return this.i.ah7 ? this.i.ah7.bottom : NaN;
},
set: function (v) {
this.ensureGroupRowMargin();
this.i.ah7.bottom = +v;
this._a("groupRowMarginBottom", this.i.ah7.bottom);
this.i.ah7 = this.i.ah7;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupRowMarginLeft", {
get: function () {
return this.i.ah7 ? this.i.ah7.left : NaN;
},
set: function (v) {
this.ensureGroupRowMargin();
this.i.ah7.left = +v;
this._a("groupRowMarginLeft", this.i.ah7.left);
this.i.ah7 = this.i.ah7;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupRowMarginRight", {
get: function () {
return this.i.ah7 ? this.i.ah7.right : NaN;
},
set: function (v) {
this.ensureGroupRowMargin();
this.i.ah7.right = +v;
this._a("groupRowMarginRight", this.i.ah7.right);
this.i.ah7 = this.i.ah7;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupRowMarginTop", {
get: function () {
return this.i.ah7 ? this.i.ah7.top : NaN;
},
set: function (v) {
this.ensureGroupRowMargin();
this.i.ah7.top = +v;
this._a("groupRowMarginTop", this.i.ah7.top);
this.i.ah7 = this.i.ah7;
},
enumerable: false,
configurable: true
});
IgcDataToolTipLayerComponent.prototype.ensureGroupRowMargin = function () {
if (this.i.ah7) {
return;
}
this.i.ah7 = new Thickness(2);
};
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "groupTextStyle", {
/**
* Gets or Sets the style to use for the Group text.
*/
get: function () {
if (this.i.abh == null) {
return null;
}
return this.i.abh.fontString;
},
set: function (v) {
var fi = new FontInfo();
fi.fontString = v;
this.i.abh = fi;
this._a("groupTextStyle", this.i.abh != null ? this.i.abh.fontString : "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryTitleTextColor", {
/**
* Gets or sets the summary text color.
*/
get: function () {
return brushToString(this.i.ahu);
},
set: function (v) {
this.i.ahu = stringToBrush(v);
this._a("summaryTitleTextColor", brushToString(this.i.ahu));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryTitleTextStyle", {
/**
* Gets or Sets the style to use for the summary text.
*/
get: function () {
if (this.i.abl == null) {
return null;
}
return this.i.abl.fontString;
},
set: function (v) {
var fi = new FontInfo();
fi.fontString = v;
this.i.abl = fi;
this._a("summaryTitleTextStyle", this.i.abl != null ? this.i.abl.fontString : "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryType", {
/**
* Gets or sets the SummaryType for the data legend.
*/
get: function () {
return this.i.aap;
},
set: function (v) {
this.i.aap = ensureEnum(DataLegendSummaryType_$type, v);
this._a("summaryType", enumToString(DataLegendSummaryType_$type, this.i.aap));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryTitleText", {
/**
* Gets or sets the SummaryTitleText for the data legend.
*/
get: function () {
return this.i.aen;
},
set: function (v) {
this.i.aen = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryTitleTextMarginBottom", {
get: function () {
return this.i.aid ? this.i.aid.bottom : NaN;
},
set: function (v) {
this.ensureSummaryTitleTextMargin();
this.i.aid.bottom = +v;
this._a("summaryTitleTextMarginBottom", this.i.aid.bottom);
this.i.aid = this.i.aid;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryTitleTextMarginLeft", {
get: function () {
return this.i.aid ? this.i.aid.left : NaN;
},
set: function (v) {
this.ensureSummaryTitleTextMargin();
this.i.aid.left = +v;
this._a("summaryTitleTextMarginLeft", this.i.aid.left);
this.i.aid = this.i.aid;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryTitleTextMarginRight", {
get: function () {
return this.i.aid ? this.i.aid.right : NaN;
},
set: function (v) {
this.ensureSummaryTitleTextMargin();
this.i.aid.right = +v;
this._a("summaryTitleTextMarginRight", this.i.aid.right);
this.i.aid = this.i.aid;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryTitleTextMarginTop", {
get: function () {
return this.i.aid ? this.i.aid.top : NaN;
},
set: function (v) {
this.ensureSummaryTitleTextMargin();
this.i.aid.top = +v;
this._a("summaryTitleTextMarginTop", this.i.aid.top);
this.i.aid = this.i.aid;
},
enumerable: false,
configurable: true
});
IgcDataToolTipLayerComponent.prototype.ensureSummaryTitleTextMargin = function () {
if (this.i.aid) {
return;
}
this.i.aid = new Thickness(2);
};
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryRowMarginBottom", {
get: function () {
return this.i.aic ? this.i.aic.bottom : NaN;
},
set: function (v) {
this.ensureSummaryRowMargin();
this.i.aic.bottom = +v;
this._a("summaryRowMarginBottom", this.i.aic.bottom);
this.i.aic = this.i.aic;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryRowMarginLeft", {
get: function () {
return this.i.aic ? this.i.aic.left : NaN;
},
set: function (v) {
this.ensureSummaryRowMargin();
this.i.aic.left = +v;
this._a("summaryRowMarginLeft", this.i.aic.left);
this.i.aic = this.i.aic;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryRowMarginRight", {
get: function () {
return this.i.aic ? this.i.aic.right : NaN;
},
set: function (v) {
this.ensureSummaryRowMargin();
this.i.aic.right = +v;
this._a("summaryRowMarginRight", this.i.aic.right);
this.i.aic = this.i.aic;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryRowMarginTop", {
get: function () {
return this.i.aic ? this.i.aic.top : NaN;
},
set: function (v) {
this.ensureSummaryRowMargin();
this.i.aic.top = +v;
this._a("summaryRowMarginTop", this.i.aic.top);
this.i.aic = this.i.aic;
},
enumerable: false,
configurable: true
});
IgcDataToolTipLayerComponent.prototype.ensureSummaryRowMargin = function () {
if (this.i.aic) {
return;
}
this.i.aic = new Thickness(2);
};
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryValueTextColor", {
/**
* Gets or sets the units text color.
*/
get: function () {
return brushToString(this.i.ahw);
},
set: function (v) {
this.i.ahw = stringToBrush(v);
this._a("summaryValueTextColor", brushToString(this.i.ahw));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryValueTextStyle", {
/**
* Gets or Sets the style to use for the units text.
*/
get: function () {
if (this.i.abn == null) {
return null;
}
return this.i.abn.fontString;
},
set: function (v) {
var fi = new FontInfo();
fi.fontString = v;
this.i.abn = fi;
this._a("summaryValueTextStyle", this.i.abn != null ? this.i.abn.fontString : "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryLabelText", {
/**
* Gets or sets the units text for the data legend.
*/
get: function () {
return this.i.aei;
},
set: function (v) {
this.i.aei = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryLabelTextColor", {
/**
* Gets or sets the units text color.
*/
get: function () {
return brushToString(this.i.aht);
},
set: function (v) {
this.i.aht = stringToBrush(v);
this._a("summaryLabelTextColor", brushToString(this.i.aht));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryLabelTextStyle", {
/**
* Gets or Sets the style to use for the units text.
*/
get: function () {
if (this.i.abk == null) {
return null;
}
return this.i.abk.fontString;
},
set: function (v) {
var fi = new FontInfo();
fi.fontString = v;
this.i.abk = fi;
this._a("summaryLabelTextStyle", this.i.abk != null ? this.i.abk.fontString : "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryUnitsText", {
/**
* Gets or sets the units text for the data legend.
*/
get: function () {
return this.i.aet;
},
set: function (v) {
this.i.aet = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryUnitsTextColor", {
/**
* Gets or sets the units text color.
*/
get: function () {
return brushToString(this.i.ahv);
},
set: function (v) {
this.i.ahv = stringToBrush(v);
this._a("summaryUnitsTextColor", brushToString(this.i.ahv));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "summaryUnitsTextStyle", {
/**
* Gets or Sets the style to use for the units text.
*/
get: function () {
if (this.i.abm == null) {
return null;
}
return this.i.abm.fontString;
},
set: function (v) {
var fi = new FontInfo();
fi.fontString = v;
this.i.abm = fi;
this._a("summaryUnitsTextStyle", this.i.abm != null ? this.i.abm.fontString : "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataToolTipLayerComponent.prototype, "badgeMarginBottom", {
get: function () {
return this.i.ah6 ? this.i.ah6.botto