Commit bb0e06d15626703b8f566774ca4733a5bdd34610

Authored by Luan
1 parent ce8363b2

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,6 +9,7 @@ $(function () {
9 height: {{ chart_height }}, 9 height: {{ chart_height }},
10 }, 10 },
11 11
  12 + // Add selectpoint and legends to the chart
12 plotOptions: { 13 plotOptions: {
13 pie: { 14 pie: {
14 allowPointSelect: true, 15 allowPointSelect: true,
@@ -16,10 +17,15 @@ $(function () { @@ -16,10 +17,15 @@ $(function () {
16 dataLabels: { 17 dataLabels: {
17 enabled: false 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 title: { 29 title: {
24 text: {% if chart_title %}'{{ chart_title }}'{% else %}''{% endif %} 30 text: {% if chart_title %}'{{ chart_title }}'{% else %}''{% endif %}
25 }, 31 },