saveChartSpecificZoneColor
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/data/zones/chartZoneColorUtils / saveChartSpecificZoneColor
Function: saveChartSpecificZoneColor()
saveChartSpecificZoneColor(
chartField:string,zoneIndex:number,color:string):void
Defined in: utils/data/zones/chartZoneColorUtils.js:335
Saves a zone color for a specific chart type to localStorage
Parametersβ
chartFieldβ
string
Full chart field name (e.g., "hr_zone_doughnut", "power_lap_zone_stacked")
zoneIndexβ
number
0-based zone index
colorβ
string
Hex color code
Returnsβ
void