tooltip: {
split : true,
shared : true,
padding: 2,//修改tooltip浮窗的padding从而达到修改浮窗宽高的目的
shape: 'callout',
xDateFormat: '%Y-%m-%d',
headerFormat: '<span style="color:{series.color}">\u25CF</span><small>{point.key:%Y-%m-%d}</small><table>',
pointFormat: '<span style="color:{series.color}">\u25CF</span><tr><td style="color: {series.color}"><b>{series.name}: </b></td>' +
'<td style="text-align: right"><b>{point.y}</td></tr>',
footerFormat: '</table>'
},
![](https://i-blog.csdnimg.cn/blog_migrate/bebf8cc6dfa72202613321e3349f609b.png)
tooltip: {
split : true,
shared : true,
padding: 8,//修改tooltip浮窗的padding从而达到修改浮窗宽高的目的
shape: 'callout',
xDateFormat: '%Y-%m-%d',
headerFormat: '<span style="color:{series.color}">\u25CF</span><small>{point.key:%Y-%m-%d}</small><table>',
pointFormat: '<span style="color:{series.color}">\u25CF</span><tr><td style="color: {series.color}"><b>{series.name}: </b></td>' +
'<td style="text-align: right"><b>{point.y}</td></tr>',
footerFormat: '</table>'
},
![](https://i-blog.csdnimg.cn/blog_migrate/c28159fc5e8c972d2639828fb6844377.png)