API REFERENCE
valueScale
Spectrogram: db (the frames are decibels) or linear (magnitudes, converted with 20 · log10).
정의
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | valueScale |
| HTML attribute | value-scale |
| 타입 | SpectrogramValueScale |
| 기본값 | undefined |
| 허용값 | linear, db |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
설정 예제
// sy-spectrogram를 등록하고 요소를 만든 뒤 설정합니다.
chart.valueScale = "linear";