igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
93 lines (91 loc) • 2.84 kB
JavaScript
import { IgcSeriesComponent } from "./igc-series-component";
/**
* Provides data for IgxDataChartComponent mouse button related events.
*/
var IgcChartCursorEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgcChartCursorEventArgs() {
}
Object.defineProperty(IgcChartCursorEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcChartCursorEventArgs.prototype.onImplementationCreated = function () {
};
IgcChartCursorEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgcChartCursorEventArgs.prototype, "item", {
/**
* Gets the ItemsSource item associated with the current event.
*/
get: function () {
return this.i.item;
},
set: function (v) {
this.i.item = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcChartCursorEventArgs.prototype, "series", {
/**
* Gets the series associated with the current event.
*/
get: function () {
var r = this.i.series;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = IgcSeriesComponent._createFromInternal(r);
if (e) {
e._implementation = r;
}
r.externalObject = e;
}
return r.externalObject;
},
set: function (v) {
v == null ? this.i.series = null : this.i.series = v.i;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcChartCursorEventArgs.prototype, "seriesViewer", {
/**
* Gets the Chart associated with the current event.
*/
get: function () {
var r = this.i.seriesViewer;
if (r == null) {
return null;
}
return r.externalObject;
},
set: function (v) {
v == null ? this.i.seriesViewer = null : this.i.seriesViewer = v.i;
},
enumerable: false,
configurable: true
});
/**
* Provides a human readable expresion of the event arguments.
*/
IgcChartCursorEventArgs.prototype.toString = function () {
var iv = this.i.toString();
return (iv);
};
return IgcChartCursorEventArgs;
}());
export { IgcChartCursorEventArgs };