//Boolean - Whether to animate the rotation of the chart
animateRotate: true,
animateScale: true,
+
+ // Need to override these to give a nice default
+ tooltips: {
+ callbacks: {
+ title: function() { return '' },
+ label: function(tooltipItem, data) {
+ return data.labels[tooltipItem.index] + ': ' + tooltipItem.yLabel;
+ }
+ }
+ }
};
Chart.controllers.polarArea = function(chart, datasetIndex) {
_chart: this.chart.chart,
_datasetIndex: this.index,
_index: index,
+ _scale: this.chart.scale,
// Desired view properties
_model: reset ? resetModel : {
bodyColor: options.tooltips.bodyColor,
_bodyFontFamily: options.tooltips.bodyFontFamily,
_bodyFontStyle: options.tooltips.bodyFontStyle,
+ _bodyAlign: options.tooltips.bodyAlign,
bodyFontSize: options.tooltips.bodyFontSize,
bodySpacing: options.tooltips.bodySpacing,
- _bodposition: options.tooltips.bodposition,
// Title
titleColor: options.tooltips.titleColor,