📜  图表 js 条太轻 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:31.632000             🧑  作者: Mango

代码示例2
/* Try setting the barThickness:'flex' in the datasets: */
datasets: [{
    label: 'Total Views',
    data: mydata,                                               
    backgroundColor:'rgba(0, 0, 0, 1)',                               
    barThickness:'flex'
}]