In a bar chart, I'm adding bars of different colors based on the values
chartDataTable.addRow([key, percentChange, 'color:' + (percentChange < 0 ?
downColor : upColor), percentChange]);
And The bars are drawn the correct colors. However the annotations are not:
annotations: {
alwaysOutside: true,
textStyle: {
fontName: 'Roboto',
fontSize: 13,
bold: true,
italic: false
}
}
The bar colors are:
#FF3232 and #28BF00
Instead of the annotations having the same colors, they get:
#b32323 and #1c8600
If I turn highContrast to false, the annotations turn into some kind of
blue.
Is there some way to have the annotations be the same color as the bar?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/5c9d411c-68e0-48ce-af0a-c4bc28f20bac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.