You need to use tooltip formatter then you can customise content.
How to add a newline to a Highchart tooltip?
-
14-07-2023 - |
Domanda
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?
Soluzione 2
Altri suggerimenti
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}'
},
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow