Provides data for DataChartComponent mouse button related events.

IgrChartMouseEventArgs

new IgrChartMouseEventArgs(): IgrChartMouseEventArgs

Returns IgrChartMouseEventArgs

chart: IgrSeriesViewer
item: any
plotAreaPosition: IgPoint
series: IgrSeries
worldPosition: IgPoint

Gets the mouse position relative to the chart.

get chartPosition(): IgPoint

Returns IgPoint

get nativeElement(): HTMLElement

Returns HTMLElement

Gets a reference to the object that raised the event.

get originalSource(): any

Returns any

Returns the x- and y- coordinates of the mouse pointer position, optionally evaluated against the origin of a supplied UIElement.

getPosition(relativeTo: any): IgPoint

Parameters

  • relativeTo: any
    • Any UIElement derived object that is contained by the the engine plug-in and connected to the object tree. To specify the object relative to the overall the engine coordinate system, use a relativeTo value of null.

Returns IgPoint

Provides a human readable description of the mouse button event.

toString(): string

Returns string