* @param {number} pixel * @return {number}
(pixel)
| 931 | * @return {number} |
| 932 | */ |
| 933 | getDecimalForPixel(pixel) { |
| 934 | const decimal = (pixel - this._startPixel) / this._length; |
| 935 | return this._reversePixels ? 1 - decimal : decimal; |
| 936 | } |
| 937 | |
| 938 | /** |
| 939 | * Returns the pixel for the minimum chart value |
nothing calls this directly
no outgoing calls
no test coverage detected