Expand the chart.

This commit is contained in:
Sander Dorigo
2014-10-13 18:50:37 +02:00
parent 36d8dee853
commit 733b6d7eb7
3 changed files with 60 additions and 25 deletions

View File

@@ -219,8 +219,25 @@ $(function () {
credits: {
enabled: false
},
tooltip: {
formatter: function () {
if (this.point.objType == 'paid') {
return this.key + ': \u20AC ' + Highcharts.numberFormat(this.y, 2);
} else {
return this.key + ': ~\u20AC ' + Highcharts.numberFormat(this.y, 2);
}
}
},
plotOptions: {
pie: {
events: {
click: function (e) {
if (e.point.url != null) {
window.location = e.point.url;
}
}
},
allowPointSelect: true,
cursor: 'pointer',
dataLabels: {