render legend after updating data
This commit is contained in:
parent
4a9048f59f
commit
7f26c18ce7
@ -233,6 +233,7 @@ export default class BaseChart {
|
|||||||
this.data = this.prepareData(data);
|
this.data = this.prepareData(data);
|
||||||
this.calc(); // builds state
|
this.calc(); // builds state
|
||||||
this.render(this.components, this.config.animate);
|
this.render(this.components, this.config.animate);
|
||||||
|
this.renderLegend();
|
||||||
}
|
}
|
||||||
|
|
||||||
render(components=this.components, animate=true) {
|
render(components=this.components, animate=true) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user