Column Chart labels color

88 views
Skip to first unread message

B4rt0

unread,
Apr 3, 2012, 1:57:38 PM4/3/12
to Google Visualization API
Hello,
I use JavaScript Column Chart generator and I can't change labels
color. I used many options, but I couldn't achieve it by no means.
They are grey all the time, no matter what I try.

asgallant

unread,
Apr 3, 2012, 3:59:29 PM4/3/12
to google-visua...@googlegroups.com
Do you mean the axis labels or the tooltips?  The color of the axis labels can be changed by setting the hAxis.textStyle option, like this:

hAxis: {
    textStyle: {
         color: '#FF0000'
    }
}

You can change the color of the tooltip in the same way, with the tooltip.textStyle option.

B4rt0

unread,
Apr 4, 2012, 3:02:52 PM4/4/12
to Google Visualization API
Thank you for help. I'm sure I tried sth similar, but I probably did
sth wrong.
Reply all
Reply to author
Forward
0 new messages