标题默认显示在图表的顶部,包括标题和副标题(subTitle),其中副标题是非必须的。设置标题和副标题的示例代码如下:
chartOptions: { chart: { type: 'line', zoomType: 'x', panning: true, panKey: 'shift' }, title: { text: "物联网数据" }, subtitle: { text: "数据来源:物联网平台" }},
title、subtitle与chart同一级别,