API REFERENCE
chartOptionsChanged
Emitted when integrated chart settings change. Update saved chart models if needed.
What does this API do?
Emitted when integrated chart settings change. Update saved chart models if needed.
API for Pro features: Integrated range charts and pivot chart tools
Exact input and result types
chartOptionsChanged: SyGridChartEventUsage flow
Subscribe with grid.addEventListener('chartOptionsChanged', handler). The result is in event.detail, and event names are case-sensitive. Remove subscriptions when disposing of the view.
const controller = new AbortController();
grid.addEventListener('chartOptionsChanged', event => {
console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();Read related types
Feature explanations and examples
- Chart selected data
Connect a Grid range to a chart to view the same data as both a table and a graph. Select category and value columns appropriate to the chart type, rather than simply selecting numeric values.