API REFERENCE

createRangeChart

Creates an integrated chart from a selection or explicit source. Read chartId on success or the rejection reason on failure.

What does this API do?

Creates an integrated chart from a selection or explicit source. Read chartId on success or the rejection reason on failure.

API for Pro features: Integrated range charts and pivot chart tools

Exact input and result types

typescript
createRangeChart(params: SyGridChartCreateParams): Promise<SyGridChartCreateResult>
ArgumentsRequiredType
paramsRequiredSyGridChartCreateParams

The return type is Promise<SyGridChartCreateResult>.

Usage flow

After registering and initializing the Grid element, call grid.createRangeChart(…). 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