UNPKG

igniteui-angular-charts

Version:

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

96 lines (95 loc) 3.06 kB
/** * Represents event argument for DataLegendSummaryCalculationCustom */ var IgxDataLegendSummaryEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgxDataLegendSummaryEventArgs() { } Object.defineProperty(IgxDataLegendSummaryEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgxDataLegendSummaryEventArgs.prototype.onImplementationCreated = function () { }; IgxDataLegendSummaryEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); }; Object.defineProperty(IgxDataLegendSummaryEventArgs.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(IgxDataLegendSummaryEventArgs.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(IgxDataLegendSummaryEventArgs.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(IgxDataLegendSummaryEventArgs.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(IgxDataLegendSummaryEventArgs.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 IgxDataLegendSummaryEventArgs; }()); export { IgxDataLegendSummaryEventArgs };