Skip to content
Snippets Groups Projects
Commit e5075147 authored by Nicolas Martinelli's avatar Nicolas Martinelli Committed by Nicolas Martinelli
Browse files

[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
parent 5e38bef5
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment