ZoomCharts Documentation
FacetChart.settings.toolbar.items
Properties
Item align.
Valid values:- left
- right
- top
- bottom
CSS class name.
View section details
An array of nested items. Setting this will display a dropdown item instead of a simple button.
Note that nested dropdowns are not supported.
Determines if the toolbar item is rendered as disabled. Disabled item do not fire the onClick
handler
when clicked.
Item image, URL to image.
Built in toolbar item name. Note that not all buttons are available for all charts.
Valid values:- back - Back button used in all charts
- displayPeriod - Display period dropdown used in time chart
- displayUnit - Display unit dropdown used in time chart
- export - Export dropdown list used in all charts except net chart
- fit - Fit to screen button used in net chart
- freeze - Freeze chart used in net chart
- fullscreen - Togggle fullscreen mode used in net chart
- logScale - Log scale button used in time chart and facet chart
- rearrange - Rearrange elements in net chart
- zoomOut - Zoom out button used in facet chart, time chart and pie chart
- zoomControl - Zoom control to manage zoom used in net chart
Item label
Item location
Valid values:- inside - Inside chart area
- outside - Outside of chart area
Function to execute on item click.
Parameters
true
now overrides the automatic label hiding for the toolbar.Whether to show button label. Use false
to hide the label, true
to show the label always and null
to show the label when there is
enough room in the toolbar.
Item side.
Valid values:- left
- right
- top
- bottom
Item title, shown on hover.