Skip to main content

createGlobalChartStatusIndicator

FitFileViewer - API Documentation v29.9.0


FitFileViewer - API Documentation / utils/charts/components/createGlobalChartStatusIndicator / createGlobalChartStatusIndicator

Function: createGlobalChartStatusIndicator()

createGlobalChartStatusIndicator(): HTMLElement | null

Defined in: utils/charts/components/createGlobalChartStatusIndicator.js:74

Creates a persistent global chart status indicator that's always visible at the top of the chart tab, regardless of settings panel visibility

Provides visual feedback about chart availability and visibility status, with quick access to settings for enabling hidden charts.

Returns​

HTMLElement | null

The created indicator element or null on failure

Example​

// Create or update the global chart status indicator
const indicator = createGlobalChartStatusIndicator();
if (indicator) {
console.log("Chart status indicator created successfully");
}