Skip to main content

updateZoneColorPreview

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/ui/modals/openZoneColorPicker / updateZoneColorPreview

Function: updateZoneColorPreview()

updateZoneColorPreview(field: any, zoneIndex: any, newColor: any): void

Defined in: utils/ui/modals/openZoneColorPicker.js:542

Updates zone color preview in real-time (if chart is visible)

Parameters​

field​

any

The field name

zoneIndex​

any

Zone index (0-based)

newColor​

any

New color value

Returns​

void