igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
103 lines (102 loc) • 3.6 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-react-core";
import { ILegendSeriesInternal_$type } from "igniteui-react-core";
/**
* @hidden
*/
var LegendMouseEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(LegendMouseEventArgs, _super);
function LegendMouseEventArgs(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;
}
LegendMouseEventArgs.prototype.toString = function () {
return this.chart.name + ", " + this.series.name + ", " + (this.item != null ? this.item.toString() : "") + ", " + this.getPosition(null).toString();
};
Object.defineProperty(LegendMouseEventArgs.prototype, "originalEvent", {
get: function () {
return this._originalEvent;
},
set: function (a) {
this._originalEvent = a;
},
enumerable: false,
configurable: true
});
LegendMouseEventArgs.prototype.getPosition = function (a) {
return this.originalEvent.getPosition(a);
};
Object.defineProperty(LegendMouseEventArgs.prototype, "originalSource", {
get: function () {
return this.originalEvent.originalSource;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseEventArgs.prototype, "item", {
get: function () {
return this._item;
},
set: function (a) {
this._item = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseEventArgs.prototype, "series", {
get: function () {
return this._series;
},
set: function (a) {
this._series = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseEventArgs.prototype, "d", {
get: function () {
return typeCast(ILegendSeriesInternal_$type, this.series);
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseEventArgs.prototype, "chart", {
get: function () {
return this._chart;
},
set: function (a) {
this._chart = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LegendMouseEventArgs.prototype, "legendItem", {
get: function () {
return this._legendItem;
},
set: function (a) {
this._legendItem = a;
},
enumerable: false,
configurable: true
});
LegendMouseEventArgs.$t = markType(LegendMouseEventArgs, 'LegendMouseEventArgs', EventArgs.$);
return LegendMouseEventArgs;
}(EventArgs));
export { LegendMouseEventArgs };