onlineChartConfig.js
419 Bytes
const onlineChartConfig = {
type: 'doughnut',
data: {
datasets: [{
data: [],
backgroundColor: ['#0096fa','#C0C0C0'],
label: '在线率',
}],
// These labels appear in the legend and in the tooltips when hovering different arcs
},
options: {
responsive: true,
tooltips:{
enabled:false
}
}
}
export default onlineChartConfig;