(value)
| 208 | } |
| 209 | |
| 210 | getPixelForValue(value) { |
| 211 | if (value === undefined || value === 0) { |
| 212 | value = this.min; |
| 213 | } |
| 214 | if (value === null || isNaN(value)) { |
| 215 | return NaN; |
| 216 | } |
| 217 | return this.getPixelForDecimal(value === this.min |
| 218 | ? 0 |
| 219 | : (log10(value) - this._startValue) / this._valueRange); |
| 220 | } |
| 221 | |
| 222 | getValueForPixel(pixel) { |
| 223 | const decimal = this.getDecimalForPixel(pixel); |
nothing calls this directly
no test coverage detected