You mean something like this: http://jsfiddle.net/asgallant/yaUtp/2/?

If so, the key is to duplicate the data rows where you want the color 
change to occur, except switch the area series to the next in line.

On Monday, August 20, 2012 10:31:28 AM UTC-4, Hangas wrote:
>
> I'll thrown in an example.
> Take a look to the last graph on this page (
> http://79.125.13.206/lab/sample.php) 
>
> What I would like, is that instead of a line, there was an area graph, 
> always full height, but with a different color for each value. Like orage 
> for 1, green for 2, blue for 4... whatever.
>
> I tried to demux the values into multiple series for each discrete value 
> with either 0 or 1 as values, and then plot the 3 series in a area chart.
> Didn't like the result as it didn't produced a "sware" wave plot.  
>
> I was expecting there was a simpler way with direct values.
>
>
> On Monday, August 20, 2012 3:13:29 PM UTC+1, Hangas wrote:
>>
>> Hi,
>>
>> I have a datasource which contains a timestamp column and a another one 
>> with a discreet value, corresponding to a status.
>> What I really wanted was to plot this series with a solid horizontal bar, 
>> with a different color for each status.  
>>  
>> Better yet, this status colors would become de background of a regular 
>> line chart.
>>
>> Is this even possible?
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/Fqssj_KIUy8J.
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