12
Views
2
Comments
Solved
How to change the color of the axis labels in a chart?
Question

I would like to change the labels to white so it's readable.

Solution

Hi @shooouse are you using old chart version V1 ??

if yes then 

  1. Add AdvancedFormat_Init into you preparation.
  2. Add Below JSON in XAxisJSON.
  3. "{ 

            labels: {

                style: {

                    color: 'white' 

                }

            }

        }"

  4. assign output of into local variable with AdvancedFormat datatype. 

          You will get below output on your chart.

Regards

Apoorv Choubey

Thank you!

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