API REFERENCE
updateSeries
An asynchronous method. Check the argument and return types below.
Definition
updateSeries(idOrIndex: string | number, patch: Partial<LineChartSeries | ScatterChartSeries>, opts?: { redraw?: boolean }): Promise<boolean>| Arguments | Type | Required |
|---|---|---|
idOrIndex | string | number | Required |
patch | Partial<LineChartSeries | ScatterChartSeries> | Required |
opts | { redraw?: boolean } | Optional |
Return type: Promise<boolean>. Call the method after element registration and await its Promise result.
- LineChartSeries
Type definition
- ScatterChartSeries
Type definition