JavaScript Data Grid: Chart Tool Panel API
This section shows how to open and close the Chart Tool Panel via the Grid API.
Opening / Closing Chart Tool Panels via Grid API
The Chart Tool Panels can be opened and closed programmatically using the following grid APIs:
The example below demonstrates how you can open and close Chart Tool Panels.
- Click Open Chart Tool Panel to open the default
Settings
tab viaopenChartToolPanel()
- Click Open Chart Tool Panel Format tab to open the
Format
tab viaopenChartToolPanel()
- Click Close Chart Tool Panel to close via
closeChartToolPanel()
Next Up
Continue to the next section to learn about: Chart Customisation.