Hopefully a quick fix for some dashlets before I do it properly

This commit is contained in:
Herbert Wolverson 2024-07-02 13:49:11 -05:00
parent 832692ca5e
commit e46d792458

View File

@ -31,7 +31,7 @@ export class ShapedUnshapedPie extends DashboardGraph {
update(shaped, unshaped) {
this.chart.hideLoading();
this.option.series[0].data[0].value = shaped;
this.option.series[0].data[1].value = unshaped;
this.option.series[0].data[1].value = unshaped - shaped;
this.chart.setOption(this.option);
}
}