ChartToolbarProps

Defines the configuration options for customizing the chart zoom toolbar.

Props

The following table outlines the props for the ChartToolbarProps:

NameTypeDefaultDescription
items
'["ZoomIn", "ZoomOut", "Pan", "Reset"]'

Defines the set of interactive tools available in the chart's zooming toolbar. Available options:

  • ZoomIn: Displays a tool that allows users to zoom into the chart.
  • ZoomOut: Displays a tool that allows users to zoom out of the chart.
  • Pan: Enables panning across the chart by dragging.
  • Reset: Resets the chart view to its original state.
position
-

Customizes the position of the zoom toolbar within the chart area.

visible
boolean
false

When set to true, the zoom toolbar is displayed by default and remains permanently visible during chart interaction.