I need(ed) to do this too, and have not been able to do so.  OTOH,
I've now got an annotated timeline that shows the thresholds in green/
yellow/red (well, for me, it's blue/orange/red, but I know exactly
what you're trying to do), with black for the actual data.  If anyone
knows that this is now possible, I'd be thrilled.  For the moment,
though, 4 different lines, with legends, seems to be working for me.
(http://aegisflu.chip.org, if an example will help you decide if it's
good enough for you.)

To give you an idea of some of the alternatives, I think I got
somewhere with the LineChart using the fill option, but it filled
below the data line too (yuck); there may still be a feature request
kicking around to allow controlling the fill below lines separately.

I also looked into putting a line graph with no fill on top of a line
graph with fill, but that didn't work because of the divs issue.

Good luck; if you figure out a really good solution, I'd love to hear
it.

On Dec 22, 10:21 am, Mahesh <[email protected]> wrote:
> Hi,
>
> I have a requirement where I want to show thresholds in the graph.
> Either I will need to show the ranges on Y-AXIS in some color code
> something like
>
> a green background for 0-50
> a yellow background for 50-70
> a red background for 70-100
>
> or show the data points in some other color ?
>
> Would prefer to do this in anotated time graphs or line graphs.
>
> Please suggest a method for this.

--

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