How do i style the tooltip?

I’m trying to outline the values in my tooltip to the right.
By reading the documentation, I find the following under chart configuration:

tooltipTemplate: “<%%if (label){%%><%%=label%%>: <%%}%%><%%= value %%>”,

My guess is, I can add a style somehow here? This structure makes no sense to me and I don’t know how to edit the example code to my liking.
How would I go about chaning this sample code to make the numbers in the tooltip outline to the right?

Author: Fantashit

1 thought on “How do i style the tooltip?

  1. How about if you want to enter a new line? I would like to have label and value under in a new line, centered. I tried HTML br but didn’t seem to help..

Comments are closed.