()
| 98 | } |
| 99 | |
| 100 | private updateLabels() { |
| 101 | if (!this.mark_data) { |
| 102 | return; |
| 103 | } |
| 104 | |
| 105 | const labels = this.get('labels'); |
| 106 | this.mark_data.forEach((data, index) => { |
| 107 | data.label = labels[index] == null ? '' : labels[index]; |
| 108 | }); |
| 109 | this.trigger('labels_updated'); |
| 110 | } |
| 111 | |
| 112 | private updateColor() { |
| 113 | if (!this.mark_data) { |