React children containing chart components and interactive tools
Height of the chart
OptionalinitialInitial states to render in the chart
OptionalinteractiveCustom icons to be used in the toolbar. String key must be interactive component name and value must be react component
OptionalonCallback fired when an interactive tool is toggled on/off
OptionalonCallback fired when the save button is clicked
OptionalshowWhether to show the sidebar with interactive tool buttons
OptionalsidebarPosition of the interactive tools sidebar. Note that when sidebarPosition is "top" or "bottom", the sidebar will take up height of the chart area and it does not automatically resize the chart components to account for this. You will need to update the height and origin props of each Chart component to use a function to scale based on the ChartCanvas size.
OptionalsizeSize of the sidebar (width for vertical, height for horizontal)
Width of the chart
Props interface for the InteractiveManager component