getDisplayZoneColors
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/data/zones/chartZoneColorUtils / getDisplayZoneColors
Function: getDisplayZoneColors()
getDisplayZoneColors(
zoneType:string,zoneCount:number,colorScheme:string):string[]
Defined in: utils/data/zones/chartZoneColorUtils.js:222
Gets colors for display in the color picker UI based on the selected scheme
Parametersβ
zoneTypeβ
string
"hr" or "power"
zoneCountβ
number
Number of zones
colorSchemeβ
string = "custom"
"classic", "vibrant", "monochrome", or "custom"
Returnsβ
string[]
Array of colors for UI display