You must to use SERIES object:
series: [{color: 'black', visibleInLegend: false},{}, {}, {color: 'red',
visibleInLegend: false}]
series: {0:{color: 'black', visibleInLegend: false}, 3:{color: 'red',
visibleInLegend: false}}
See details here:
https://google-developers.appspot.com/chart/interactive/docs/gallery/columnchart
Work Example:
http://www.mygemel.net/proc/kupa_graph.php?ID_KUPA=218
On Thursday, April 14, 2011 4:29:57 AM UTC+3, tim wrote:
>
> I don't see anything in the API changing the color of the bar
> depending on the value. Is there a way to make it so that negative
> values are different color than positive ones?
>
> Thanks.
--
You received this message because you are subscribed to the Google Groups
"Google Chart API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-chart-api/-/r0dlieg6np8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-chart-api?hl=en.