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