UNPKG

igniteui-webcomponents-charts

Version:

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

99 lines (98 loc) 3.06 kB
/** * Represents event argument for DataLegendSummaryCalculationCustom */ var IgcDataLegendSummaryEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgcDataLegendSummaryEventArgs() { } Object.defineProperty(IgcDataLegendSummaryEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcDataLegendSummaryEventArgs.prototype.onImplementationCreated = function () { }; IgcDataLegendSummaryEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcDataLegendSummaryEventArgs.prototype, "columnValues", { /** * Gets actual values in the current a column */ get: function () { return this.i.columnValues; }, set: function (v) { if (v && !Array.isArray(v) && typeof (v) == "string") { var re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.columnValues = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcDataLegendSummaryEventArgs.prototype, "columnMemberPath", { /** * Gets member path to identify a column */ get: function () { return this.i.columnMemberPath; }, set: function (v) { this.i.columnMemberPath = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcDataLegendSummaryEventArgs.prototype, "summaryValue", { /** * Gets or sets summary values displayed below data column */ get: function () { return this.i.summaryValue; }, set: function (v) { this.i.summaryValue = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcDataLegendSummaryEventArgs.prototype, "summaryUnits", { /** * Gets or sets text displayed or right side of SummaryValue */ get: function () { return this.i.summaryUnits; }, set: function (v) { this.i.summaryUnits = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcDataLegendSummaryEventArgs.prototype, "summaryLabel", { /** * Gets or sets text displayed or left side of SummaryValue */ get: function () { return this.i.summaryLabel; }, set: function (v) { this.i.summaryLabel = v; }, enumerable: false, configurable: true }); return IgcDataLegendSummaryEventArgs; }()); export { IgcDataLegendSummaryEventArgs };