on 07-26-2007 11:29 AM
Hi all,
I am trying to make an application using business graphics. I want to to create an action on click of a series of that chart type which will open a table consisting of all data & fugures corresponding to that portion of chart. I have create an action and bind it to on cation roperty of business graphics and written a small test code in that action implementation. But no action event is occuring on clicking of graph. pls help
Regards
Poonam
Hi Poonam..
Check these links..
You don click the graph to take action. You have to specify your node values to the graph properties like series source...
http://help.sap.com/saphelp_nw04/helpdata/en/9a/a04d26a6d611d2960500a0c9308b1f/frameset.htm
USING BUSINESS GRAPHICS
http://help.sap.com/saphelp_nw04/helpdata/en/e5/08b6eb35637a44830b9e6df22987aa/frameset.htm
INTRODUCTION TO WEBDYN PRO BUSINESS GRAPHICS WEBAS 6.40
ACCESSING FURTHER MODELS IN BUSINESS GRAPHIC ELEMENTS
http://help.sap.com/saphelp_nw04s/helpdata/en/42/e61cd068dc3ee4e10000000a1553f7/frameset.htm
BUSINESS GRAPHICS LIBRARY
http://help.sap.com/saphelp_nw04s/helpdata/en/13/7d8741bf56040de10000000a1550b0/frameset.htm
Urs GS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
I think you mentioned a necessary but not sufficient part for the answer. If you assign the eventID then the action handler has the following parameter (or a subset of it):
WDEVENT TYPE REF TO CL_WD_CUSTOM_EVENT
CONTEXT_ELEMENT TYPE REF TO IF_WD_CONTEXT_ELEMENT
EVENT_ID TYPE STRING
ID TYPE STRING
The parameter EVENT_ID corresponds to eventID. But I think the original question was how to access the element of the view context that was clicked.
Best Regards,
Tobias
HI Poonam,
u want the event for series or categories??If u have create the event for ur Business Graphics UI element,it should be called ....
If u want it for series or category,take the event id,map this action to that at runtime..using mappingOfAction..
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sumit I am making a simple action on graph click but its not working. I have tried the same code on 2 different WAS on one it is working and on one its not working .Is there any server side setting for action property.
code:
created a business graphics(pie chart) with one simple series and category. Its working fine .I have assigne an action to onaction property of business graphic and print a message on action click to it. But I m not getting any action on graph click.
thanks
Poonam
Hi Sumit ,
we are using NWDS7.0.10 and WAS 2004s SP10. Ya I aggree it shouldnt matter if we have mapped onAction property of businessgraphics to a action.Thats why I am asking why its not working. Can you send me simplest example of graphics action ,as I had already mentioned in my earlier mail what exactly I had done.
created a business graphicUI and run it .Its working fine . Then created an action to print a success message and mapped it to onAction property of grpah.But its working on clicking any portaion of graph or the whole plot area.
Thanks & Regards
Poonam Sharma
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.