9
Views
1
Comments
HighCharts - Change tooltip font size
Question
I'm trying to use the AdvancedFormat_Init function to set the font for my tooltip.  The default is too big.  I'm passing the following which I got from the HighCharts_API documentation.

"tooltip: {
            useHTML: true,
            headerFormat: '<small>{point.key}</small>'
        }"
I'm sure I'm missing some syntax to make it proper JSON I just don't know what it is.

Thanks in advance,
Curt


2013-11-21 00-40-55
Curt Raddatz
I was able to figure this out after a while.  The Advanced Format syntax to change the font size for the tooltip on a chart is:

"tooltip: { style: {fontSize: '7pt'} }"
Hope that helps someone.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.