문제

    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