unsubscribeAction(type, cb?)
unsubscribeAction Unsubscribe from chart actions.
Reference
typescript
(
type: 'onZoom' |
'onScroll' |
'onVisibleRangeChange' |
'onCandleTooltipFeatureClick' |
'onIndicatorTooltipFeatureClick'|
'onCrosshairFeatureClick' |
'onCrosshairChange' |
'onCandleBarClick' |
'onPaneDrag',
cb: (data: unknown) => void
) => voidParameters
typeType, supportsonZoom,onScroll,onVisibleRangeChange,onCandleTooltipFeatureClick,onIndicatorTooltipFeatureClick,onCrosshairFeatureClick,onCrosshairChange,onCandleBarClickandonPaneDrag.cbThe callback method when subscribing. By default, all subscriptions of the current type are canceled.
Returns
unsubscribeAction returns undefined .