getChartZoneColors
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/data/zones/chartZoneColorUtils / getChartZoneColors
Function: getChartZoneColors()
getChartZoneColors(
zoneType:string,zoneCount:number,colorScheme:string):string[]
Defined in: utils/data/zones/chartZoneColorUtils.js:186
Gets zone colors for chart rendering based on color 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 chart use