Skip to main content

resetChartSpecificZoneColors

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/data/zones/chartZoneColorUtils / resetChartSpecificZoneColors

Function: resetChartSpecificZoneColors()

resetChartSpecificZoneColors(chartField: string, zoneCount: number): void

Defined in: utils/data/zones/chartZoneColorUtils.js:302

Resets all zone colors for a specific chart type to defaults

Parameters​

chartField​

string

Full chart field name (e.g., "hr_zone_doughnut", "power_lap_zone_stacked")

zoneCount​

number

Number of zones to reset

Returns​

void