[FIX] web: pie chart
Mixing positive and negative values in a pie chart is not possible. However, in this case, a crash occurs instead of displaying an error message. opw-786137
This commit is contained in:
committed by
Nicolas Martinelli
parent
5e38bef5a5
commit
e5075147cf
@@ -99,7 +99,7 @@ return Widget.extend({
|
||||
}));
|
||||
} else {
|
||||
var chart = this['display_' + this.mode]();
|
||||
if (chart) {
|
||||
if (chart && chart.tooltip.chartContainer) {
|
||||
chart.tooltip.chartContainer(this.$el[0]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user