Sha256: 81fb6cb9092d5afc503625cf4565451ef9e2ae29bdbdd9ff47b54541a220198a
Contents?: true
Size: 706 Bytes
Versions: 51
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: "#ffffff" }, 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
51 entries across 51 versions & 1 rubygems