visualization-tools

Home > @visualization-tools/core > IPlotStateFactories > getPinchZoomingState

IPlotStateFactories.getPinchZoomingState() method

Signature:

getPinchZoomingState(firstDownFingerEvent: IChartPointerEvent<PointerEvent>, secondDownFingerEvent: IChartPointerEvent<PointerEvent>, options: IInteractionOptions, providers: IPlotInteractionProviders<TPlotRange, IDefaultTargets>, sharedState: IInteractionSharedState): IChartState<TPlotRange>;

Parameters

Parameter Type Description
firstDownFingerEvent IChartPointerEvent<PointerEvent>  
secondDownFingerEvent IChartPointerEvent<PointerEvent>  
options IInteractionOptions  
providers IPlotInteractionProviders<TPlotRange, IDefaultTargets>  
sharedState IInteractionSharedState  

Returns:

IChartState<TPlotRange>