I noticed this is your very first post to any Google forum. Welcome.

GChart 2.4 has a built-in single point selection capability. Here's an
example of how to use that:

http://gchart.googlecode.com/svn/trunk/doc/com/googlecode/gchart/client/package-summary.html#GChartExample21

To emulate multiple selection, you could add a second curve that had
the same symbol type (and other properties such as width) as the first
(so that it would overlay it) but only included the points (bars) you
wanted to be selected. The setImageURL method could then be applied to
this second curve, passing in your semi-transparent image.

Selection/deselection would then be a matter of adding/removing points
to/from this second curve, and calling the update method to refresh
the chart.

John C. Gunther
http://gchart.googlecode.com

On Feb 11, 1:38 pm, Paul Wang <[email protected]> wrote:
> Hi,
>
> I'd like to put a semi-transparent panel on top of a gchart to show
> disabled areas of a bar graph.  I looked through gchart 2.4 and didn't
> see anything that'd let me easily find out where bars are located so I
> can position a panel on top of it.
>
> Is there a better way to do this?  I also need to do this without any
> user input (no events).
>
> --
> Paul Wang
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to