Skip to main content

Function: updateCharts()

function 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.