* @param {number} pixel * @return {number}
(pixel)
| 168 | * @return {number} |
| 169 | */ |
| 170 | getValueForPixel(pixel) { |
| 171 | const offsets = this._offsets; |
| 172 | const decimal = this.getDecimalForPixel(pixel) / offsets.factor - offsets.end; |
| 173 | return interpolate(this._table, decimal * this._tableRange + this._minPos, true); |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | export default TimeSeriesScale; |
nothing calls this directly
no test coverage detected