Open unluckychild opened 6 months ago
Confirm. Does not work when update
from an empty dataset. I have a black schedule.
type: 'pie',
labels: [],
data: {
datasets: [{
data: [],
label: 'Voices: ',
borderWidth: 2
}]
},
options: {
plugins: {
autocolors: {
enabled: true,
mode: 'data'
}
}
}
Hi team, I am facing the same issue. Is there any fix/workaround for the above issue?
Yeah, i fixed this by not using this plugin. I now use only default chartjs colors, this fixed the problem
I update graph via ajax, but when the page/graph is first loaded and without data, it shows nothing. Its OK, but when i update graph with new set of data, there is only black color for all graphs.