Skip to main content

updateCharts

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/charts/core/chartUpdater / updateCharts

Function: updateCharts()

updateCharts(reason: string, container?: HTMLElement | null): Promise<boolean>

Defined in: utils/charts/core/chartUpdater.ts:58

Unified interface for triggering chart updates.

Parameters​

reason​

string

Reason for the chart update.

container?​

HTMLElement | null

Optional chart container element.

Returns​

Promise<boolean>

Whether the update request was accepted or rendered.

Throws​

Re-throws chart state manager or fallback render failures.