tooltip: {
        headerFormat: '<b>{series.name}</b><br>',
        pointFormat: '{point.x:%b %e %H:%M}: {point.y:.3f}'
    },

How to add a new line between %e and %H?

有帮助吗?

解决方案 2

You need to use tooltip formatter then you can customise content.

其他提示

set property useHTML to true and you'll be able to use <br/> for making a new line

tooltip: {
        useHTML: true,
        headerFormat: '<b>{series.name}</b><br>',
        pointFormat: '{point.x:%b %e <br/> %H:%M}: {point.y:.3f}'
    },
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top