https://codepen.io/malinosky/pen/bjvVyr
var ctx = document.getElementById('myChart').getContext('2d');
var chart = new Chart(ctx, {
type: 'bar',
data: {
labels: ['January 01', 'February', 'March 02', 'April', 'May 03'],
datasets: [{
data: [2,5,3,12,17],
label: "2017",
backgroundColor: "blue",
borderColor: "blue",
fill: false
}, {
data: [10,12,21,22,34],
label: "2018",
backgroundColor: "red",
borderColor: "red",
fill: false
}
]
},
options: {}
});
是否可以在设备的amalenkie权限上使用mounth删除标签?在chart.js中可以吗?