Chartjs-How to set color of label in chartjs?

0👍

changed label color like follows:

 options: { 
            legend: {
                labels: {
                    fontColor: "blue",
                    fontSize: 18
                }
            },
        }

0👍

@Robin Hood @pistou

finally it’s now different. i do like this:

        hAxis: { direction: -1,
                 textStyle: {
                    color:'white',
                 }},
        vAxis: { 
                 textStyle: {
                    color:'white',
                 }},

Leave a comment