labels: 3rd value becomes a "-"
Closed this issue · 2 comments
Andy-Post commented
Hey there,
I've a problem with showing the "labels" on doughnut-charts.
If I only have 2 values - labels are shown correctly, but if I have more than 2 values for the 'labels' attribute the third value becomes a: "-"
I collect the values via PHP in my var '$close1', when I do a print_r($close1) I get:
["customer", "fb", "colo", "isam", "reseller"]
...but in chartJS-script I've the following values:
["customer", "fb", "-", "colo", "isam"]
...what can I do?
airblade commented
If you're using PHP, how are you using this Rails plugin?
Andy-Post commented
....damn. Posted in wrong git...2019 starts more worse than 2018 ends.
I'm sorry ;)