API REFERENCE
syncCharts
Recalculates integrated chart data projections from the current Grid view.
What does this API do?
Recalculates integrated chart data projections from the current Grid view.
API for Pro features: Integrated range charts and pivot chart tools
Exact input and result types
syncCharts(mutation?: SyGridChartSyncMutation): Promise<SyGridChartSyncReport>| Arguments | Required | Type |
|---|---|---|
| mutation | Optional | SyGridChartSyncMutation |
The return type is Promise<SyGridChartSyncReport>.
Usage flow
After registering and initializing the Grid element, call grid.syncCharts(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
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.