I'm working with Chart.js and it's awesome, but I have a problem, I made this Radar Chart with Chart.js
As you see, the values that I have are very scattered so I need to set a max value for each label, is there a way to do this?
This is my code:
@data = {
labels: ["Health", "Phyisical Attack", "Magic Attack", "Phyisical Armor", "Magic Armor "],
datasets: [
{
label: "My First dataset",
fillColor: "rgba(220,220,220,0.2)",
strokeColor: "rgba(220,220,220,1)",
pointColor: "rgba(220,220,220,1)",
pointStrokeColor: "#fff",
pointHighlightFill: "#fff",
pointHighlightStroke: "rgba(220,220,220,1)",
data: [@health_growth[0], @physical_attack_growth[0], @magic_attack_growth[0], @physical_armor_growth[0], @magic_armor_growth[0]]
},
]
};
@options = {}
Thanks.
Edit: Ok, I see that scaleSteps, scaleStepWidth and scaleStartValue can do the job, but I need to set those values for each label, is there a way to do this?