getChartSpecificZoneColor
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/data/zones/chartZoneColorUtils / getChartSpecificZoneColor
Function: getChartSpecificZoneColor()
getChartSpecificZoneColor(
chartField:string,zoneIndex:number):string
Defined in: utils/data/zones/chartZoneColorUtils.js:144
Gets the saved color for a specific zone and chart type or returns default
Parametersβ
chartFieldβ
string
Full chart field name (e.g., "hr_zone_doughnut", "power_lap_zone_stacked")
zoneIndexβ
number
0-based zone index
Returnsβ
string
Hex color code