igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
113 lines (112 loc) • 4.13 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 { __extends } from "tslib";
import { EventArgs, typeCast, markType } from "igniteui-angular-core";
import { ILegendSeriesInternal_$type } from "igniteui-angular-core";
/**
* @hidden
*/
var LegendMouseButtonEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(LegendMouseButtonEventArgs, _super);
function LegendMouseButtonEventArgs(a, b, c, d, e) {
var _this = _super.call(this) || this;
_this._originalEvent = null;
_this._item = null;
_this._series = null;
_this._chart = null;
_this._legendItem = null;
_this.chart = a;
_this.series = b;
_this.item = c;
_this.originalEvent = d;
_this.legendItem = e;
return _this;
}
LegendMouseButtonEventArgs.prototype.toString = function () {
return this.chart.name + ", " + this.series.name + ", " + (this.item != null ? this.item.toString() : "") + ", " + this.getPosition(null).toString();
};
Object.defineProperty(LegendMouseButtonEventArgs.prototype, "originalEvent", {
get: function () {
return this._originalEvent;
},
set: function (a) {
this._originalEvent = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseButtonEventArgs.prototype, "handled", {
get: function () {
return this.originalEvent.handled;
},
set: function (a) {
this.originalEvent.handled = a;
},
enumerable: false,
configurable: true
});
LegendMouseButtonEventArgs.prototype.getPosition = function (a) {
return this.originalEvent.getPosition(a);
};
Object.defineProperty(LegendMouseButtonEventArgs.prototype, "originalSource", {
get: function () {
return this.originalEvent.originalSource;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseButtonEventArgs.prototype, "item", {
get: function () {
return this._item;
},
set: function (a) {
this._item = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseButtonEventArgs.prototype, "series", {
get: function () {
return this._series;
},
set: function (a) {
this._series = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseButtonEventArgs.prototype, "d", {
get: function () {
return typeCast(ILegendSeriesInternal_$type, this.series);
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseButtonEventArgs.prototype, "chart", {
get: function () {
return this._chart;
},
set: function (a) {
this._chart = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseButtonEventArgs.prototype, "legendItem", {
get: function () {
return this._legendItem;
},
set: function (a) {
this._legendItem = a;
},
enumerable: false,
configurable: true
});
LegendMouseButtonEventArgs.$t = markType(LegendMouseButtonEventArgs, 'LegendMouseButtonEventArgs', EventArgs.$);
return LegendMouseButtonEventArgs;
}(EventArgs));
export { LegendMouseButtonEventArgs };