更新时间:2023-02-13 13:18:47
对我来说,如果将选项放在图表{{]属性中,chartOptions将不起作用,我需要添加直接在chartOptions内部的选项
For me chartOptions don't work if you put the options inside a chart:{} property, I needed to add the options directly inside chartOptions
这对我有用
chartOptions: {
width: 400,
height: 200,
title: "Hourly Page views"
}