chrisb89123456789
Posts: 28
Joined: Mon Jul 02, 2018 9:25 pm

Is there are way for format data labels on the color axis?

Thu Nov 29, 2018 8:53 am

Dear all,

I am using a heatmap where I can easily format data labels like this. Key is, that I need to add the information + value in %.

Code: Select all

series: [{
        dataLabels: {
            enabled: true,
            format: '+ {point.value} %'
        }
    }]
    
Instead of printing this in every cell of the heatmap, I would like to moove this information to the color axis of my heatmap. However, I cannot find a similar setting in the API to do so. Any ideas?

Thanks
Chris

rafalS
Posts: 664
Joined: Thu Jun 14, 2018 11:40 am

Re: Is there are way for format data labels on the color axis?

Thu Nov 29, 2018 9:09 am

Rafal Sebestjanski,
Highcharts Developer

chrisb89123456789
Posts: 28
Joined: Mon Jul 02, 2018 9:25 pm

Re: Is there are way for format data labels on the color axis?

Thu Nov 29, 2018 12:02 pm

though I was using the same code but it did not work before. Sorry for this question, my problem is solved

Return to “Highcharts Usage”