API REFERENCE

valueScale

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

정의

항목값
JavaScript 프로퍼티valueScale
HTML attributevalue-scale
타입SpectrogramValueScale
기본값undefined
허용값linear, db

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

설정 예제

javascript
// sy-spectrogram를 등록하고 요소를 만든 뒤 설정합니다.
chart.valueScale = "linear";