Hi,

how can I make a column chart like the one in the example
( 
http://code.google.com/apis/visualization/documentation/gallery/columnchart.html#Example
 ), with differently colored columns per year? What I want is the expenses 
should be red if lower than sales, and green if higher than sales. 

So far I could only achieve this by using two columns: a red
expenses_lower_than_sales, and a green expenses_higher_than_sales, and
deciding programatically which one should be the actual value or 0. The
only problem with this is that if the one that is defined first is 0,
and the second one gets the actual value, then there will be a gap at
the 0 height column, which I don't want. How can I get rid of a column
that is 0 high?

Maybe I can hide it with setProperty
( 
http://code.google.com/apis/visualization/documentation/reference.html#DataTable_setProperty
 ) ? But I don't know what name/value to use.

Thanks in advance.
-- 
Baranyi Péter <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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-visualization-api?hl=en.

Reply via email to