Vue Highcharts的标题

  

标题默认显示在图表的顶部,包括标题和副标题(subTitle),其中副标题是非必须的。设置标题和副标题的示例代码如下:

chartOptions: {
chart: {
type: 'line',
zoomType: 'x',
panning: true,
panKey: 'shift'
},
title: {
text: "物联网数据"
},
subtitle: {
text: "数据来源:物联网平台"
}
},

title、subtitle与chart同一级别,

posted @ 2020-12-08 17:44  天气之子A  阅读(176)  评论(0编辑  收藏  举报