Skip to Content
0
Former Member
Jan 29, 2010 at 02:34 PM

Help with Capturing Business Graphics data point

27 Views

Hi,

I created a BusinessGraphics UI element with SimpleSeries and assigned eventId for the categories and data points. I am able to get the series that is clicked through the event but I would like to know which point (value) is clicked as well.

The steps I followed are

1. Created BG UI element, category and SimpleSeries

2. Assigned eventIDs

3. Created an action class and mapped it to the UI element

4. Code in wdDoModifyView is

if (firstTime)

{

IWDBusinessGraphics chart = (IWDBusinessGraphics) view.getElement("bgCSB");

chart.mappingOfOnAction().addSourceMapping("id", "pointID");

}

5. Implemented action class with one parameter (pointID) and able to get the value.

Can someone help me to get the data point values from the user click.

Appreciate your help.

Thanks,

Kalyan