saveZoneColor
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/data/zones/chartZoneColorUtils / saveZoneColor
Function: saveZoneColor()
saveZoneColor(
zoneType:string,zoneIndex:number,color:string):void
Defined in: utils/data/zones/chartZoneColorUtils.js:350
Saves a zone color to localStorage
Parametersβ
zoneTypeβ
string
"hr" or "power"
zoneIndexβ
number
0-based zone index
colorβ
string
Hex color code
Returnsβ
void