(value)
| 46 | } |
| 47 | |
| 48 | getPixelForValue(value) { |
| 49 | if (value === undefined || value === 0) { |
| 50 | value = this.min; |
| 51 | } |
| 52 | |
| 53 | return this.getPixelForDecimal(value === this.min ? 0 |
| 54 | : (Math.log2(value) - this._startValue) / this._valueRange); |
| 55 | } |
| 56 | |
| 57 | getValueForPixel(pixel) { |
| 58 | const decimal = this.getDecimalForPixel(pixel); |
nothing calls this directly
no test coverage detected