[Chartjs]-How can I place single data on the center in Chart.js?

1👍

Well, I fixed this problem a little elsewhere. If it’s single data, add empty values without headers to the data array:

datapoints = [NaN, 1800, NaN];
labels = ['', 'Label', ''],

enter image description here

Leave a comment