We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca2bd1 commit f3192d7Copy full SHA for f3192d7
1 file changed
openwisp_utils/admin_theme/static/admin/js/ow-dashboard.js
@@ -30,6 +30,10 @@
30
31
for (let i = 0; i < elementsParam.length; ++i) {
32
layout.title.text = elementsParam[i].name;
33
+ // Remove annotations added from previous chart.
34
+ // Otherwise, empty chart will show annotations from
35
+ // the previous chart.
36
+ delete layout.annotations;
37
let data = {
38
type: 'pie',
39
hole: 0.6,
0 commit comments