-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Description
Expected Behavior
Provide custom value for each angle of the polar graph.
Current Behavior
Every angle is 360/#values °
Possible Solution
Provide the custom angles in the options like this
var options = {
type: 'polarArea',
data: {
labels: ["A", "B", "C", "D", "E"],
datasets: [{}]
},
options: {
customAngles: [
10, 40, 80, 80, 150
]
}
}
var ctx = document.getElementById('chartJSContainer').getContext('2d');
new Chart(ctx, options);
and use it in
Chart.controllers.polarArea = Chart.DatasetController.extend({...
updateElement: function(arc, index, reset)
husayt