/*
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 * as tslib_1 from "tslib";
import { EventArgs, typeCast, markType } from "igniteui-react-core";
import { ILegendSeriesInternal_$type } from "igniteui-react-core";
/**
 * @hidden
 */
var LegendMouseEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__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: true,
        configurable: true
    });
    LegendMouseEventArgs.prototype.getPosition = function (a) {
        return this.originalEvent.getPosition(a);
    };
    Object.defineProperty(LegendMouseEventArgs.prototype, "originalSource", {
        get: function () {
            return this.originalEvent.originalSource;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(LegendMouseEventArgs.prototype, "item", {
        get: function () {
            return this._item;
        },
        set: function (a) {
            this._item = a;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(LegendMouseEventArgs.prototype, "series", {
        get: function () {
            return this._series;
        },
        set: function (a) {
            this._series = a;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(LegendMouseEventArgs.prototype, "d", {
        get: function () {
            return typeCast(ILegendSeriesInternal_$type, this.series);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(LegendMouseEventArgs.prototype, "chart", {
        get: function () {
            return this._chart;
        },
        set: function (a) {
            this._chart = a;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(LegendMouseEventArgs.prototype, "legendItem", {
        get: function () {
            return this._legendItem;
        },
        set: function (a) {
            this._legendItem = a;
        },
        enumerable: true,
        configurable: true
    });
    LegendMouseEventArgs.$t = markType(LegendMouseEventArgs, 'LegendMouseEventArgs', EventArgs.$);
    return LegendMouseEventArgs;
}(EventArgs));
export { LegendMouseEventArgs };
//# sourceMappingURL=LegendMouseEventArgs.js.map
