Commit bb0e06d15626703b8f566774ca4733a5bdd34610
1 parent
ce8363b2
Exists in
master
and in
39 other branches
Adding minor comments and removing highcharts credits
Showing
1 changed file
with
7 additions
and
1 deletions
Show diff stats
src/templates/pizza-chart.html
... | ... | @@ -9,6 +9,7 @@ $(function () { |
9 | 9 | height: {{ chart_height }}, |
10 | 10 | }, |
11 | 11 | |
12 | + // Add selectpoint and legends to the chart | |
12 | 13 | plotOptions: { |
13 | 14 | pie: { |
14 | 15 | allowPointSelect: true, |
... | ... | @@ -16,10 +17,15 @@ $(function () { |
16 | 17 | dataLabels: { |
17 | 18 | enabled: false |
18 | 19 | }, |
19 | - showInLegend: true | |
20 | + showInLegend: true, | |
20 | 21 | } |
21 | 22 | }, |
22 | 23 | |
24 | + // Removes highcharts watermark | |
25 | + credits: { | |
26 | + enabled: false | |
27 | + }, | |
28 | + | |
23 | 29 | title: { |
24 | 30 | text: {% if chart_title %}'{{ chart_title }}'{% else %}''{% endif %} |
25 | 31 | }, | ... | ... |