UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

62 lines (61 loc) 2.12 kB
import { fromPoint, toPoint } from "igniteui-react-core"; /** * Represents event arguments for chart's SeriesAdded and SeriesRemoved events */ var IgrDomainChartPlotAreaPointerEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrDomainChartPlotAreaPointerEventArgs() { this.mounted = false; } Object.defineProperty(IgrDomainChartPlotAreaPointerEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrDomainChartPlotAreaPointerEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrDomainChartPlotAreaPointerEventArgs.prototype.onImplementationCreated = function () { }; IgrDomainChartPlotAreaPointerEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrDomainChartPlotAreaPointerEventArgs.prototype, "plotAreaPosition", { /** * Gets the pointer position relative to the plot area. */ get: function () { return fromPoint(this.i.plotAreaPosition); }, set: function (v) { this.i.plotAreaPosition = toPoint(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgrDomainChartPlotAreaPointerEventArgs.prototype, "chartPosition", { /** * Gets the mouse position relative to the chart. */ get: function () { return fromPoint(this.i.chartPosition); }, enumerable: false, configurable: true }); return IgrDomainChartPlotAreaPointerEventArgs; }()); export { IgrDomainChartPlotAreaPointerEventArgs };