📜  chartjs 条形图悬停颜色 - Javascript 代码示例

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

代码示例1
...
data: [
  { 
    label: 'the label',
    data: [303, 59, 49], 
    backgroundColor: ['#131e3a', '#19284d', '#1f3260'],
    hoverBackgroundColor: ['#131e3a', '#19284d', '#1f3260']
  }
]
...