Skip to main content



      Home
Home » Archived » BIRT » Graph Interactivity Question
Graph Interactivity Question [message #150151] Sun, 02 April 2006 12:54 Go to next message
Eclipse UserFriend
Originally posted by: tony.tahbaz.gmail.com

I've successfully created a simple bar graph using the graph API however
I'm having trouble intercepting the specific selected bar using the
ICallBackNotifier interface. I've interrogated all of the objects passed
into the callback(Object event, Object source, CallBackValue value)
method, but can't quite seem to be able to get a handle on the particular
bar the user selected. The entire series is available by accessing the
DataSet object (via the StructureSource.getSource() method) but I need to
know exactly which bar was selected. Any help would be much appreciated.
Re: Graph Interactivity Question [message #150407 is a reply to message #150151] Mon, 03 April 2006 13:45 Go to previous messageGo to next message
Eclipse UserFriend
I think this should be fixed in the latest build, you should be able to get
a WrappedStructureSource containing both the datapoint and the series.

Thanks,

David

"Tony Tahbaz" <tony.tahbaz@gmail.com> wrote in message
news:e886637531feb626eebd27fbb3fdfad1$1@www.eclipse.org...
> I've successfully created a simple bar graph using the graph API however
> I'm having trouble intercepting the specific selected bar using the
> ICallBackNotifier interface. I've interrogated all of the objects passed
> into the callback(Object event, Object source, CallBackValue value)
> method, but can't quite seem to be able to get a handle on the particular
> bar the user selected. The entire series is available by accessing the
> DataSet object (via the StructureSource.getSource() method) but I need to
> know exactly which bar was selected. Any help would be much appreciated.
>
Re: Graph Interactivity Question [message #150680 is a reply to message #150407] Tue, 04 April 2006 11:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tony.tahbaz.gmail.com

David, thanks for your reply.

I can see that I can now create a WrappedStructureSource object using the
StructureSource object that is passed into the callback() method, but I
don't see how to access the selected bar. Do you have a code snippet
showing how to properly use this?
Re: Graph Interactivity Question [message #150772 is a reply to message #150680] Tue, 04 April 2006 15:48 Go to previous message
Eclipse UserFriend
Originally posted by: tony.tahbaz.gmail.com

Okay, so the problem was I was just using too old of a build. I'm not
sure when this functionality got commited to the repository but it seems
to work properly in nightly build (N20060403).
Previous Topic:Deleting images
Next Topic:Javascript Expression in Default Parameter
Goto Forum:
  


Current Time: Wed Apr 16 10:00:28 EDT 2025

Powered by FUDForum. Page generated in 0.02287 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top