条形图上需要网格线,图表 js V3
我尝试了很多网格选项似乎没有任何效果,默认情况下网格线似乎在条形图旁边而不是在条形图上
I finally figured it out , I'm gonna leave .
let options = {
plugins: {
scales: {
x: {
offset: true,
grid: {
offset: false
}
}
}
}
}