API REFERENCE

valueScale

Spectrogram: db (the frames are decibels) or linear (magnitudes, converted with 20 · log10).

Definition

ItemValue
JavaScript propertyvalueScale
HTML attributevalue-scale
TypeSpectrogramValueScale
Defaultundefined
Allowed valueslinear, db

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

Configuration example

javascript
// Register sy-spectrogram and create the element before configuring it.
chart.valueScale = "linear";