UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

81 lines (79 loc) 2.52 kB
import { IgPoint } from "igniteui-angular-core"; import { IgxSeriesComponent } from "./igx-series-component"; import { DomainChartSeriesPointerEventArgs as DomainChartSeriesPointerEventArgs_internal } from "./DomainChartSeriesPointerEventArgs"; /** * Represents event arguments for chart's SeriesAdded and SeriesRemoved events * * The `DomainChartSeriesPointerEventArgs` class provide events for chart's SeriesAdded and SeriesRemoved. * * `SeriesPointerDown` get fired when the pointer is press down over a Series. * * ```html * <igx-financial-chart * #chart * [dataSource]="data" * (seriesPointerDown)=chart_seriesPointerDown() * > * </igx-financial-chart> * ``` * * ```ts * this.chart.seriesPointerDown = this.chart_seriesPointerDown(); * ``` */ export declare class IgxDomainChartSeriesPointerEventArgs { protected _implementation: any; /** * @hidden */ get i(): DomainChartSeriesPointerEventArgs_internal; private onImplementationCreated; constructor(); protected _provideImplementation(i: any): void; /** * Gets the series hit by the pointer. * * Use the `Series` property to get the series. * * ```ts * var series= args.series; * ``` */ get series(): IgxSeriesComponent; set series(v: IgxSeriesComponent); /** * Gets the item hit by the pointer. * * Use the `Item` property to get the items. * * <https://www.infragistics.com/help/wpf/infragisticswpf.controls.charts.xamdatachart~infragistics.controls.charts.domainchartseriespointereventargs~item> * * ```ts * var Chartitem = args.item; * ``` */ get item(): any; set item(v: any); /** * Gets the pointer position relative to the plot area. */ get plotAreaPosition(): IgPoint; set plotAreaPosition(v: IgPoint); static ngAcceptInputType_plotAreaPosition: IgPoint | string; /** * Gets the mouse position relative to the chart. */ get chartPosition(): IgPoint; static ngAcceptInputType_chartPosition: IgPoint | string; /** */ get worldPosition(): IgPoint; set worldPosition(v: IgPoint); static ngAcceptInputType_worldPosition: IgPoint | string; /** * Gets or sets whether to cancel series selection. */ get cancelSelection(): boolean; set cancelSelection(v: boolean); static ngAcceptInputType_cancelSelection: boolean | string; }