()
| 535 | } |
| 536 | |
| 537 | legendables () { |
| 538 | return this.data().map((d, i) => { |
| 539 | const legendable = {name: d.key, data: d.value, others: d.others, chart: this}; |
| 540 | legendable.color = this.getColor(d, i); |
| 541 | return legendable; |
| 542 | }); |
| 543 | } |
| 544 | |
| 545 | legendHighlight (d) { |
| 546 | this._highlightSliceFromLegendable(d, true); |