(scaleOptions)
| 54 | } |
| 55 | |
| 56 | init(scaleOptions) { |
| 57 | const added = this._addedLabels; |
| 58 | if (added.length) { |
| 59 | const labels = this.getLabels(); |
| 60 | for (const {index, label} of added) { |
| 61 | if (labels[index] === label) { |
| 62 | labels.splice(index, 1); |
| 63 | } |
| 64 | } |
| 65 | this._addedLabels = []; |
| 66 | } |
| 67 | super.init(scaleOptions); |
| 68 | } |
| 69 | |
| 70 | parse(raw, index) { |
| 71 | if (isNullOrUndef(raw)) { |