getZoneColors
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/data/zones/chartZoneColorUtils / getZoneColors
Function: getZoneColors()
getZoneColors(
zoneType:string,zoneCount:number):string[]
Defined in: utils/data/zones/chartZoneColorUtils.js:259
Gets an array of colors for all zones of a given type
Parametersβ
zoneTypeβ
string
"hr" or "power"
zoneCountβ
number
Number of zones
Returnsβ
string[]
Array of hex color codes