igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
101 lines (99 loc) • 2.81 kB
TypeScript
import { IgPoint } from "igniteui-react-core";
import { IgrSeries } from "./igr-series";
import { DomainChartSeriesPointerEventArgs as DomainChartSeriesPointerEventArgs_internal } from "./DomainChartSeriesPointerEventArgs";
import { ContentChildrenManager } from "igniteui-react-core";
/**
* 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.
*
* ```ts
* <IgrFinancialChart
* yAxisInterval={200}
* yAxisMinorInterval={50}
* yAxisMajorStroke="Black"
* yAxisMinorStroke="Gray" >
* </IgrFinancialChart>
* ```
*
* ```ts
* this.chart.seriesPointerDown = this.chart_seriesPointerDown();
* ```
*
* ```ts
* <IgrFinancialChart
* width="100%"
* height="400px"
* chartType="Candle"
* zoomSliderType="Candle"
* volumeType="Column"
* indicatorTypes="ForceIndex"
* overlayTypes ="PriceChannel"
* dataSource={this.data}
* seriesPointerDown = {this.onseriesPointerDown} />
* ```
*
* ```ts
* public void onseriesPointerDown =(s: IgrDomainChart <IIgrDomainChartProps>, e: DomainChartSeriesPointerEventArgs)=>
* {
*
* }
* ```
*/
export declare class IgrDomainChartSeriesPointerEventArgs {
protected _implementation: any;
protected mounted: boolean;
get nativeElement(): HTMLElement;
/**
* @hidden
*/
get i(): DomainChartSeriesPointerEventArgs_internal;
protected onImplementationCreated(): void;
protected _contentChildrenManager: ContentChildrenManager;
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(): IgrSeries;
set series(v: IgrSeries);
/**
* 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);
/**
* Gets the mouse position relative to the chart.
*/
get chartPosition(): IgPoint;
/**
*/
get worldPosition(): IgPoint;
set worldPosition(v: IgPoint);
/**
* Gets or sets whether to cancel series selection.
*/
get cancelSelection(): boolean;
set cancelSelection(v: boolean);
}