visualization-tools

Home > @visualization-tools/core > getChartInitialState

getChartInitialState() function

Provides user interaction state machine initial state.

Signature:

export declare function getChartInitialState<TPlotRange>(options: IInteractionOptions, stateProviders: IPlotInteractionProviders<TPlotRange, IDefaultTargets>): IdleState<TPlotRange>;

Parameters

Parameter Type Description
options IInteractionOptions  
stateProviders IPlotInteractionProviders<TPlotRange, IDefaultTargets>  

Returns:

IdleState<TPlotRange>