Skip to Content
avatar image
Former Member

Onaction in Business Graphics

Dear All,

What is the purpose of onAction in Business graphics when it will trigger.

Regrads,

Suman.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 04, 2009 at 01:39 PM
    Add comment
    10|10000 characters needed characters exceeded

  • Mar 04, 2009 at 01:41 PM

    HI

    onAction (String id)

    This event is triggered when the user selects a certain area of the business graphic. The parameter is the id of the selected UI element

    For example if u want to display the % .

    Best Regards

    Satish Kumar

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Suman

      one category is getting displayed but not all because it takes the last category and provide the output

      Look

      The Category describes the categories of a graphical representation. Categories of a chart are a discrete value range or an unsorted set of objects - such as January, February, March, and so on

      So if u want data for each category so u have pass it one by one because It seems to me that RFC is designed in this way ? It doesn't take ArayList of Category.

      So for each Category you have to call rfc .

      understand from this example

      IPrivateGenCompView.IRegionElement resEle = wdContext.createAndAddRegionElement();
      		resEle.setRegionName("India");
      		{
      			// India has this many location each will respresented as category
      			// in Business graph and to retrieve each category u have to call your rfc
      			IPrivateGenCompView.ILocationElement location_ele1 = resEle.nodeLocation().createAndAddLocationElement();
      			location_ele1.setLocationName("Mumbai");
      
      			IPrivateGenCompView.ILocationElement location_ele2 = resEle.nodeLocation().createAndAddLocationElement();
      			location_ele2.setLocationName("Delhi");
      
      			IPrivateGenCompView.ILocationElement location_ele3 = resEle.nodeLocation().createAndAddLocationElement();
      			location_ele3.setLocationName("Calcutta");
      		}

      Best Regards

      Satish Kumar

  • avatar image
    Former Member
    Mar 12, 2009 at 03:40 AM

    I am using VC for creating business graphics.

    Add comment
    10|10000 characters needed characters exceeded