React children containing chart components and interactive tools
Height of the chart
Optional
initialInitial states to render in the chart
Optional
interactiveCustom icons to be used in the toolbar. String key must be interactive component name and value must be react component
Optional
onCallback fired when an interactive tool is toggled on/off
Optional
onCallback fired when the save button is clicked
Optional
showWhether to show the sidebar with interactive tool buttons
Optional
sidebarPosition 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.
Optional
sizeSize of the sidebar (width for vertical, height for horizontal)
Width of the chart
Props interface for the InteractiveManager component