Sha256: 8e3ccb340515e107e3433105312384e6caf5f53a95871e7750f303d64f9c4548
Contents?: true
Size: 706 Bytes
Versions: 12
Compression:
Stored size: 706 Bytes
Contents
var setupHighcharts = function() { Highcharts.setOptions({ global: { timezoneOffset: 5 * 60, useUTC: false }, legend: { labelFormatter: function() { var total = 0; for(var i=this.yData.length; i--;) { total += this.yData[i]; }; return this.name + ': ' + total; } }, chart: { backgroundColor: "#f0f0f0" }, tooltip: { shared: true }, plotOptions: { series: { animation: false }, pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '<b>{point.name}</b>: {point.y}' } } } }); };
Version data entries
12 entries across 12 versions & 1 rubygems