* @param {any} options * @since 3.0
(options)
| 254 | * @since 3.0 |
| 255 | */ |
| 256 | init(options) { |
| 257 | this.options = options.setContext(this.getContext()); |
| 258 | |
| 259 | this.axis = options.axis; |
| 260 | |
| 261 | // parse min/max value, so we can properly determine min/max for other scales |
| 262 | this._userMin = this.parse(options.min); |
| 263 | this._userMax = this.parse(options.max); |
| 264 | this._suggestedMin = this.parse(options.suggestedMin); |
| 265 | this._suggestedMax = this.parse(options.suggestedMax); |
| 266 | } |
| 267 | |
| 268 | /** |
| 269 | * Parse a supported input value to internal representation. |
nothing calls this directly
no test coverage detected