getZoneColor
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/data/zones/chartZoneColorUtils / getZoneColor
Function: getZoneColor()
getZoneColor(
zoneType:string,zoneIndex:number):string
Defined in: utils/data/zones/chartZoneColorUtils.js:232
Gets the saved color for a specific zone or returns default
Parametersβ
zoneTypeβ
string
"hr" or "power"
zoneIndexβ
number
0-based zone index
Returnsβ
string
Hex color code