Fix broken chart after resize
This commit is contained in:
parent
dba24024b0
commit
7c45673168
@ -130,7 +130,9 @@ export default class ChartViewModel extends ViewModel {
|
|||||||
this.model.chartVisible = !this.model.chartVisible;
|
this.model.chartVisible = !this.model.chartVisible;
|
||||||
};
|
};
|
||||||
this.model.onMenuToggle = () => {
|
this.model.onMenuToggle = () => {
|
||||||
|
if (this.model.chartVisible) {
|
||||||
this.chart.update();
|
this.chart.update();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user