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!