API REFERENCE
chartCreated
Emitted when an integrated Grid chart is created. Manage your app's chart list by chart ID.
What does this API do?
Emitted when an integrated Grid chart is created. Manage your app's chart list by chart ID.
API for Pro features: Integrated range charts and pivot chart tools
Exact input and result types
chartCreated: SyGridChartEventUsage flow
Subscribe with grid.addEventListener('chartCreated', 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('chartCreated', 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.