如题,目前是这样的↓
// line chart init
var myLineChart = new Chart(lineChart, {
type: 'line',
data: lineData,
options: {
legend: {
display: false
},
scales: {
xAxes: [{
ticks: {
fontSize: '11',
fontColor: '#969da5'
},
gridLines: {
color: 'rgba(0,0,0,0.05)',
zeroLineColor: 'rgba(0,0,0,0.05)'
}
}],
yAxes: [{
display: false,
ticks: {
beginAtZero: true,
max: 65
}
}]
}
}
});