Business graphics/series:series/Point" Role "Values":A minimum 1 object(s)

Hi All,
I am getting an error:
Webdynpro generation: metadata constraint of component component_name is violated: Point "// WebDynpro/View:com.domain.ProjectViewName/RootUIelementcontainer/...../ business graphics/series:series/Point" Role "Values":A minimum 1 object(s) is required.
I am using pie chart for graphics.
Thanks and regards,
Hanif Kukkalli

Hi ,
When you create a series , you have to create a series -> series_point->point ->numerical or time value..
Blogs by Marcin Galczynski
/people/sap.user72/blog/2006/05/01/advanced-business-graphics--time-scatter
Or you can use a simple series
/people/sap.user72/blog/2005/03/23/business-graphics-in-webdynpro
Regards
Bharathwaj

Similar Messages

  • Business Graphics Tool - Series

    Hello All,
    I have developed a Graph using the Business Graphics charting tool. The application is a Web Dynpro application.
    My graph has to display two lines (or range of values). In order to do that, I have created two Data Series, to which I pass values at run time. The Graph is appearing correctly.
    How ever some of the values in both the series are the same. Hence the two lines criss-cross each other. At this point the values displayed on the graph becomes jumbled up.
    I also saw an option for creating 'Series' objects. Here we can set whether the labels should appear on the left side of the line, its format etc. etc. But I am not finding a way to interlink the Series object, with the Data Series object. The setting would be like:-
    Data Series 1 would be using Series Object 1 (in which the value labels would appear on the left side of the line)
    Data Series 2 would be using Series Object 2 (in which the value labels would appear on the right side of the line)
    Any help is appreciated. TIA
    PKS.

    Hi,
    the connection between your customizing settings and the data is done using a customizing ID, i.e. tell WD the ID of each series and use exactly the same ID in the chart designer when creating the customizing settings (please note that you can easily rename the default names as desired).
    Regards, Kai

  • Business Graphics: Speedometer chart: Change Maximum value on runtime

    Hi Skilled,
    We faced a little problem in our project. We use Business Graphics component and Speedometer chart on the View and we should change maximum value of the graphics on runtime.
    I could easily change the maximum on design time in Chart Designer -> Axis -> Maximum Value, but I haven't found a way to change it on runtime.
    Are there any known ways to change the value on runtime?
    Best Regards, Dmitry

    Hi,
    by calling setDirectCustomizing you can provide customizing XML at runtime.
    Create your own customizing XML where you define the maximum value and call this method.
    You can also use the SAP Chart Designer from SDNs download area for creating the XML (just to get an idea how the XML has look like in your application).
    Regards, Kai

  • Business Graphics - Series Label

    Hi,
    I have 1 Category and 4 series in a Business Graphics. I want to display the Series Labels dynamically, and i have to map to the Context Variables for the Labels. But, i am not seeing any option to map the Label property to the Context Variable.
    Any Ideas? Please let me know.
    Thanks

    Hi,
    I assume you are currently using the SimpleSeries in your application. Try to use Series with Points und Values. It is more complicated, but gives you more possibilities such as binding labels etc.
    Hope that helps
    Jens

  • Business graphics: customize x axes

    Hi all,
      I have a special requirement from a customes and I don't know how to satisfy this.
    I have successfully implemented a Business graphic with series (not simpleseries) and now I need to customize the x axes which contains the hours of 1 month.
    The customer requirement is to have a label and the corresponding grid line only each sunday at 12:00:00.
    I'm trying with Chart Designer with no luck.
    How can I achieve this?
    Thanks
    Stefano

    >
    Kai Gutenkunst wrote:
    > Hi,
    > you use a TimeAxis in your chart; is that correct?
    > Then you can use a value range for displaying such a line (and a caption).
    > In the chart designer right-click on TimeAxis-GridLine and create a new value range. Set the Start and End properties to the desired date/time and fill the property Caption.
    > Regards, Kai
    Hi Kay,
      currently I don't use a time axis because reading the documentation I was convinced that it is only for graphics like gannt and similar.
      In my case I need 2 axes, the x axes is for time (quarter hour) and the y axes is for values. The table rapresenting the values is like this:
    Time   Value
    00:15   287
    00:30   290
    00:45   302
    01:00   299
    01:15   306
    Should I use time TimeAxis?
    Thank you
    Stefano

  • Business Graphics : Display values for simple series ?

    Hi ,
    I have a some 5 simple series per category.. I am using a column chart . I would like to display the numerical values on top of each of the columns, ? How can i do it ?
    And is there any proper documentation on Business Graphics UI element other than the help.sap and weblogs on the sametopic ?
    Thanks and Regards
    Bharathwaj

    Hi ,
    Thanks for the answer.. By trial and error I had figured out the values.. but am stuck in another problem..
    I have two points created in the chart designer.. each one has its own color.. Now am using this to change the color of a single series .. depending on some value.. point 1 or point 2 will be selected..
    In this scenario ,my legend still shows me the old ones i.e just an yellow icon..
    If i add more info and captions.. for points.. I get .. the proper legend.. But the default legend set also exists. Any ideas on how to remove this .. or
    to display the proper legend in some other way..
    Thanks and Regards
    Bharathwaj..

  • Business Graphics- tooltip with series values

    Hi all,
    I'm using the Business Graphics UI element.
    I have a simple series and I want to show the series' values in the tooltip of the series.
    However, the tooltip property is not bindable for simple series.
    I tried using Series (not simple series), the tooltip works but I get multiple values for each category.
    See attached snapshot (I want the graph to look like the left graph but with tooltips...)
    http://img70.imageshack.us/img70/2977/businessgraphicsop4.jpg
    Basically, I need to see the values in a tooltip on a category based chart.
    Is it possible to create category based chart by using Series and not SimpleSeries?
    How do I solve it?
    Thanks,
    Omri

    Hi,
    I've change the context a little and now it's looks like this:
    Context:
    Category (Node, singleton)
    --> Series (Node, non singleton)
    > value (Value attribute)
    -->Text (Value attribute)
    UI: (UI Element, property, propertyValue)
    Business Grpahics -- seriesSource -- Category
    --Category -- description -- Category.txt
    --Series -- label -- Category.txt
    --Series -- pointSource -- Category.Series
    SeriesPoint -- tooltip -- Category.Series.Value
    SeriesPoint -- valueSource -- Category
    NumericValue -- value -- Category.Series.Value
    Thanks,
    Omri

  • Business Graphics : Set label for a Simple Series

    I need to set label to simple series of Business graphics object. Since the Label property is not bindable; i am looking for the alternative way to achieve this. (Any attempt to pass the context would give error msg: Method bindLabel( String) is undefined for the type IWDSimpleSeries)
    I want to have a string value in each points in graph (Line Graph), not i legend.
    tips will be highly appreciated.
    Thanks,
         Vinod V

    Hi Vinod,
    The label property for IWDPoint should solve your purpose.
    IWDPoint API 'label' property - This property is used to specify an optional text to be displayed for a point in a business graphic.
    Refer SAP NetWeaver Library http://help.sap.com/saphelp_nw04s/helpdata/en/1f/20ef3d5e10af5ee10000000a114084/frameset.htm
    Kind Regards,
    Nitin
    Edited by: Nitin Jain on Apr 8, 2009 4:40 PM

  • How to use series in business graphic ui element

    Hi All,
    How to use the series in business graphic ui element? my requirement is i have to display the sales in selected months in graph(these values dont know at design time).
    Regards
    Srikanth

    Hi,
    Use the dynamic node  and bind this node to the BG source node and series nodes.
    Create a node and bind this node to the BG source and the value that you want to shown in series has to be bound to that attribute of the node and similarly with the category.
    Check out for the dynamic node creation and bind this node to the BG.
    Regards,
    Lekha.

  • Business Graphics from Table and Series UI Element

    Hallo experts,
    i try to provide a business graph, but have some problems with functionality of Series UI Element  as i suppose.
    At design Time i don't know how many series i have, it's depend on data wich i get from table. So as i found for this i can use Series UI Element instead of SimpleSeries.
    So i in Layout i have following structure:
    Categorie
    Series(List)->SeriesPoint->Numeric Value
    In Context:
    MainNode with following children:
                     Date attribute (String)
                     SeriesNode with following children:
                                        Name(String)
                                        PoinNode with attribute:
                                             (Integer) Summe
    I set singelton of PointNode and SeriesNode to false;
    Date Attribute is mapped to Catergorie
    (Integer)Summe to Point Value
    SeriesNode to to Series(List)
    Here is part of code how i generate elements of some Node:
    for(int m=0;m<allCodelineNames.size();m++){
    String name=(String)allCodelineNames.get(m)
    IPublicChangeList.ISeriesElement elem=
    (IPublicChangeList.ISeriesElement)
    wdThis.wdGetChangeListController().wdGetContext().nodeSeries().createSeriesElement();
    IPublicChangeList.ISeriesPointElement elem2=
    (IPublicChangeList.ISeriesPointElement)
    wdThis.wdGetChangeListController().wdGetContext().nodeSeriesPoint().createSeriesPointElement();
    LinkedHashMap result=(LinkedHashMap)codelineMap.get(name);
    elem.setCodelineName(name);
    int changeLists=Integer.parseInt((String)result.get(date));
    elem2.setChangelistSum(changeLists);
    wdThis.wdGetChangeListController().wdGetContext().nodeSeriesPoint().addElement(elem2);
    wdThis.wdGetChangeListController().wdGetContext().nodeSeries().addElement(elem);
    The problem is so that i still don't see different series i see only the first one.
    Also it's not clear how the mainNode knew which nodeSeries elemnts it had
    i also tried to implement this way;
    statElem.node().getChildNode("Series",i).addElement(elem);
    where statElem is element of mainNode, but it makes no difference
    Have you have any ideas, could it be that i make something generell wrong with this UI Element?
    Thank you in advance!!
    Best Regards,
    Daria
    Edited by: Daria Sosunova on May 30, 2008 8:56 AM

    Hi Daria
    Good news so far: layout structure is correct
    >
    Daria Sosunova wrote:
    >  So i in Layout i have following structure:
    > Categorie
    > Series(List)->SeriesPoint->Numeric Value
    However the context structure should be a little bit different (if I understand your structure correctly)
    >
    Daria Sosunova wrote:
    > In Context:
    > MainNode with following children:
    > Date attribute (String)
    > SeriesNode with following children:
    > Name(String)
    > PoinNode with attribute:
    > (Integer) Summe
    This is how it should be:
    <ul>
    <li>MainNode (for categories, singleton=true)</li>
      <ul><li>Date attr (String)</li></ul>
    <li>SeriesNode (for series, singleton=true)</li>
      <ul>
      <li>Name attr (String)</li>
      <li>PointNode(for points, singleton=false)</li>
      <ul><li>Summe attr (Integer)</li></ul>
      </ul>
    </ul>
    Mapping should be done like this:
    <ul>
    <li>Date attr to Category->Description</li>
    <li>SeriesNode to BusinessGraphic->seriesSource</li>
    <li>PointNode to SeriesList->PointSource</li>
    <li>PointNode to SeriesPoint->ValueSource</li>
    <li>Summe attr to Values->Value</li>
    </ul>
    That's it for design time. As for code it should generate series like this:
            ISeriesNode nodeSeries = wdContext.nodeSeries();
         for(int j =0; j<seriesAmount; j++){
              ISeriesElement seriesElement = nodeSeries.createSeriesElement();
              nodeSeries.addElement(seriesElement);
              seriesElement.setName("Test "+j);
              IPoint2Node nodePoint2 = seriesElement.nodePoint2();
              for(int k=0; k<pointsAmount; k++){
                   IPoint2Element point2Element = nodePoint2.createPoint2Element();
                   nodePoint2.addElement(point2Element);
                   if(k==4 && j==0)continue; // skip fifth element
                   point2Element.setValue(""+(1+j*10 + k));
    Set seriesAmount=allCodelineNames.size() and pointsAmount=amountOfCategories to get what you want.
    I know that it's not very easy to understand but it works
    Regards
    Ivan Dulko

  • Setting series color in the Business Graphics UI element

    Hi all,
    I'm using the Business Graphics UI element in my Web Dynpro application.
    I set the color for various properties using chart designer, then I add the generated XML in the doModifyView method: bg.setDirectCustomizing(xml file) and most of it works.
    However, when I change the series' color, I don't see any change in the xml file (see snapshot).
    http://img90.imageshack.us/my.php?image=graphjy1.jpg
    My xml starts with <SAPChartCustomizing> and ends with </SAPChartCustomizing>.
    How can I set the series' color using the custom xml file?
    Thanks,
    Omri

    Hi,
    as the connection between your data and the customizing settings works via IDs you have to make sure that you set exactly the same ID for a data series as defined in the chart designer.
    In case that you use point customizing make sure that you do not set an ID for the points of your series. Instead set the series customizing ID for the series only! Keep in mind that point customizing always overwrites series customizing if both are defined.
    Regards, Kai

  • How to add series to Business Graphics control dynamically?

    Hi Experts,
    How to add series to Business Graphics control dynamically?
    I tried the method add_series( ) but could not use it properly.
    If you have any clues of using it, let me know.
    I need it urgently.
    Best Regards,
    Arti.

    I'm not sure what ADD_SERIES method you are refering to. The only programable API for the Business Graphics that I found was this one:
    http://help.sap.com/saphelp_nw70/helpdata/EN/42/e61cd068dc3ee4e10000000a1553f7/frameset.htm
    I've not ever tried it, but you not just add the series UI element like any other dynamic UI manipulation during the WDDOMODIFYVIEW?
    http://help.sap.com/saphelp_nw70/helpdata/EN/11/ba74412cba127de10000000a155106/frameset.htm

  • Dynamic Values in Business Graphics Tool Tip

    hi,
    I am using business graphics ui element in my webdynpro application.I am able to get the graghical output correctly.I want to have tool tip in my graph so when I place the cursor on a point, the tool tip should give the corresponding value.I have used the following code
    try
         String[] catLabels = {
                        "Team 1", "\1Tomoko Akino", "\1Hans Bosch", "\1Marvin Smith",
                        "Team 2", "\1Jose Vega", "\1Bao Yin", "Out of office" };
            String[][] pointCustomizing = {
                        { "approved", "cancelled", "approvedPartTime" },
                        { "approved" },
                        { "approved" },
                        { "sent", "approvedPartTime", "notsentPartTime", "notsent"},
                        { "approved", "zSeveralEntries", "zSeveralEntries",
                          "zSeveralEntries", "zSeveralEntries", "zSeveralEntries",
                          "zSeveralEntries" },
                        { "outOfOffice", "outOfOffice", "outOfOffice", "outOfOffice",
                          "outOfOffice", "outOfOffice", "outOfOffice", "outOfOffice",
                          "outOfOffice", "outOfOffice", "outOfOffice", "outOfOffice",
                          "outOfOffice", "outOfOffice", "outOfOffice" }
            String[][] pointLabels = {
                        { "1", "2", "2", "2", "4", "3", "3", "3", "1", "1", "2", "1",
                          "2", "1", "1" }
            String[][][] timeValues = {
                        { { "20020528", "20020606" }, { "20020606", "20020608" },
                          { "20020610", "20020611" } },
                        { { "20020531", "20020606" } },
                        { { "20020607", "20020613" } },
                        { { "20020527", "20020601" }, { "20020606", "20020607" },
                          { "20020612", "20020613" }, { "20020617", "20020619"} },
                        { { "20020531", "20020606" }, { "20020531", "20020601" },
                          { "20020601", "20020602" }, { "20020602", "20020603" },
                          { "20020603", "20020604" }, { "20020604", "20020605" },
                          { "20020605", "20020606" } },
                        { { "20020527", "20020528" }, { "20020528", "20020529" },
                          { "20020529", "20020530" }, { "20020530", "20020531" },
                          { "20020531", "20020601" }, { "20020603", "20020604" },
                          { "20020604", "20020605" }, { "20020605", "20020606" },
                          { "20020606", "20020607" }, { "20020607", "20020608" },
                          { "20020610", "20020611" }, { "20020611", "20020612" },
                          { "20020612", "20020613" }, { "20020617", "20020618" },
                          { "20020618", "20020619" }}
            String s[]={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","a1","a2","a3","a4","a5","a6","a7","a8","a9","a10","a11","a12","a13","a14",};
            IPrivateSBusinessGraphicsSampleView.ICategoryNode catNode = wdContext.nodeCategory();
            for (int catIndex = 0; catIndex < catLabels.length; ++catIndex)
               IPrivateSBusinessGraphicsSampleView.ICategoryElement  catElement = catNode.createCategoryElement();
               catNode.addElement(catElement);
               catElement.setDescription(catLabels[catIndex]);
            // loop over series
            IPrivateSBusinessGraphicsSampleView.ISeriesNode seriesNode = wdContext.nodeSeries();
            for (int seriesIndex = 0; seriesIndex < timeValues.length; ++seriesIndex)
               IPrivateSBusinessGraphicsSampleView.ISeriesElement seriesElement = seriesNode.createSeriesElement();
               seriesNode.addElement(seriesElement);
               // set series attributes (...)
               IPrivateSBusinessGraphicsSampleView.IPointNode pointNode = seriesElement.nodePoint();
               // loop over points
               for (int pointIndex = 0; pointIndex < timeValues[seriesIndex].length; ++pointIndex)
                 IPrivateSBusinessGraphicsSampleView.IPointElement
                           pointElement = pointNode.createPointElement();
                 pointNode.addElement(pointElement); 
                 String ename = s[pointIndex];
                 wdComponentAPI.getMessageManager().reportSuccess("name:"+ename);
                 pointElement.setStartValue(timeValues[seriesIndex][pointIndex][0]);
                 pointElement.setEndValue(timeValues[seriesIndex][pointIndex][1]);
                 pointElement.setCuId(pointCustomizing[seriesIndex][pointIndex]);
                 pointElement.setLabel(pointLabels[seriesIndex][pointIndex]);    
                 pointElement.setToolTip(ename );
         catch(Exception e)
                 wdComponentAPI.getMessageManager().reportSuccess("exc2:"+e);
    By the above code ,I am getting the tool tip with the value "a" in all locations.
    But I need to have different values in the tooltip corresponding to the location.
    Please Help....
    Thanks in advance,
    Shamila

    hi,
    Still  I did not get the dynamic tool tip..........
    In wdDoInit() I have written the following code
    try
         String[] catLabels = { "Team 1", "\1Tomoko Akino", "\1Hans Bosch", "\1Marvin Smith",
                   "Team 2", "\1Jose Vega", "\1Bao Yin", "Out of office" };
            String[][] pointCustomizing = {
                        { "approved", "cancelled", "approvedPartTime" },
                        { "approved" },
                        { "approved" },
                        { "sent", "approvedPartTime", "notsentPartTime", "notsent"},
                        { "approved", "zSeveralEntries", "zSeveralEntries",
                          "zSeveralEntries", "zSeveralEntries", "zSeveralEntries",
                          "zSeveralEntries" },
                        { "outOfOffice", "outOfOffice", "outOfOffice", "outOfOffice",
                          "outOfOffice", "outOfOffice", "outOfOffice", "outOfOffice",
                          "outOfOffice", "outOfOffice", "outOfOffice", "outOfOffice",
                          "outOfOffice", "outOfOffice", "outOfOffice" }  };
                    String[][] pointLabels = {{ " ", " ", " " },{ " " },{ " " },{ " ", " ", " ", " "},{ " ", " ", " ", " ", " ", " ", " " },
                                  { "1", "2", "2", "2", "4", "3", "3", "3", "1", "1", "2", "1", "2", "1", "1" } };
                  String[][][] timeValues = {{        { "20020528", "20020606" },
                          { "20020606", "20020608" },
                          { "20020610", "20020611" } },
                        {  { "20020531", "20020606" } },
                        {   { "20020607", "20020613" }  },
                        {   { "20020527", "20020601" },
                          { "20020606", "20020607" },
                          { "20020612", "20020613" },
                          { "20020617", "20020619"} },
                        { { "20020531", "20020606" }, { "20020531", "20020601" },
                          { "20020601", "20020602" }, { "20020602", "20020603" },
                          { "20020603", "20020604" }, { "20020604", "20020605" },
                          { "20020605", "20020606" } },
                        { { "20020527", "20020528" }, { "20020528", "20020529" },
                          { "20020529", "20020530" }, { "20020530", "20020531" },
                          { "20020531", "20020601" }, { "20020603", "20020604" },
                          { "20020604", "20020605" }, { "20020605", "20020606" },
                          { "20020606", "20020607" }, { "20020607", "20020608" },
                          { "20020610", "20020611" }, { "20020611", "20020612" },
                          { "20020612", "20020613" }, { "20020617", "20020618" },
                          { "20020618", "20020619" }}  };
            String s[]={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","a1","a2","a3","a4","a5","a6","a7","a8","a9","a10","a11","a12","a13","a14",};
            IPrivateSBusinessGraphicsSampleView.ICategoryNode catNode = wdContext.nodeCategory();
            IPrivateSBusinessGraphicsSampleView.ICategoryElement  catElement;
            for (int catIndex = 0; catIndex < catLabels.length; ++catIndex)
                catElement = catNode.createCategoryElement();
               catNode.addElement(catElement);
               catElement.setDescription(catLabels[catIndex]);
             // loop over series
            IPrivateSBusinessGraphicsSampleView.ISeriesNode seriesNode = wdContext.nodeSeries();
            for (int seriesIndex = 0; seriesIndex < timeValues.length; ++seriesIndex)
               IPrivateSBusinessGraphicsSampleView.ISeriesElement seriesElement = seriesNode.createSeriesElement();
               seriesNode.addElement(seriesElement);
               // set series attributes (...)
               IPrivateSBusinessGraphicsSampleView.IPointNode pointNode = seriesElement.nodePoint();
               IPrivateSBusinessGraphicsSampleView.IPointElement  pointElement;
               // loop over points
               for (int pointIndex = 0; pointIndex < timeValues[seriesIndex].length; pointIndex++)
                 //IPrivateSBusinessGraphicsSampleView.IPointElement
                 pointElement = pointNode.createPointElement();
                 pointNode.addElement(pointElement); 
                 String ename = s[pointIndex];
                  wdComponentAPI.getMessageManager().reportSuccess("name:"+ename);
                 pointElement.setStartValue(timeValues[seriesIndex][pointIndex][0]);
                 pointElement.setEndValue(timeValues[seriesIndex][pointIndex][1]);
                 pointElement.setCuId(pointCustomizing[seriesIndex][pointIndex]);
                 pointElement.setLabel(pointLabels[seriesIndex][pointIndex]);    
                  pointElement.setToolTip(ename );
    catch(Exception e){        wdComponentAPI.getMessageManager().reportSuccess("exc2:"+e);    }
    In wdDoModifyView() I have written the following code
    try
         IWDBusinessGraphics graph = (IWDBusinessGraphics)view.getElement("BusinessGraphics");
         IWDAbstractSeries allSeries[] = graph.getSeriesList();
         IWDSimpleSeries series;
         wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("length : "+allSeries.length+" value:"+allSeries[0]);
         for(int j=0;j<allSeries.length;j++)
           series = (IWDSimpleSeries)allSeries[j];
          for(int i=0;j<wdContext.nodeSeries().size();i++)
              wdContext.nodeSeries().setLeadSelection(i);
              series.setTooltip(series.getValue());
      catch(Exception e)
         wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("exc modify :"+e);
    The node structure is
    Root Node
    >Category>Description
    >Series>Point-->CuId
    >Series>Point-->endvalue
    >Series>Point -->Startvalue
    >Series>Point -->label
    >Series>Point --->Tooltip
    In BusinessGraphis seriesSource-Series node ,tooltip-Series.Point.ToolTip is mapped
    In Category description-Category.Description is mapped
    In Series pointsource-Series.Point, tooltip-series.point.tooltip is mapped
    In Point CustomisingId-eries.point.cuId.label-Series.label, tooltip-series.point.Tooltip,valuesource -series.point is mapped
    In Numericvalue value-series.point.startvalue is mapped
    In Numericvalue value-series.point.endvalue is mapped
    When I deploy my application I am getting <b>java.lang.ClassCastException</b> Exception at the line  <b>series = (IWDSimpleSeries)allSeries[j];</b>
    What is reaseon?.....
    Please help..............
    I want to get dynamic value in the tool tip of the graph.
    Thanks in advance,
    Shamila,

  • Help with Capturing Business Graphics data point

    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

    You have done everything right, except I don't think you can do this with simple series.
    Create something like this:
    in the context:
    series-> (this node can be with 1..1 cardinality and 1..1 selection)
       points->
           label (string)
           value (int)
           pointId (string)
    in the business graphics:
    create one series (not simple one) and add to it one point of numeric type.
    in the properties of business graphics bind seriesSource to series context.
    Series: bined poitSource to series.points
    Series_points: bind eventId to series.points.pointId
                            bind label to series.points.label
                            bind valueSource to series.points
    Values (these are the numeric values): bind value to series.points.value
    in wdDoModify method do the same thing as you have done already.
    Now, when you click on a point you will receive in your event in pointId variable the pointId context attribute value.
    Best regards,
    Anton

  • Business Graphics negative values

    Hi All,
    I'm using business graphics graph. I bind a node with data to the category and to the series (the same node).
    The problem starts if the series has negative values - instead of showing them as is on the graph it shows their absolute values and the graph is displayed incorrectly.
    Is there any way to rectify this behavior?
    Aviad

    Hi Maksim Rashchynski,
    Model Node --> History_Periods
        Model Attribute --> MonthYear (String)
        Model Attribute --> Quantity  (decimal)
    The business graphics I am using is the graph with the attribute 'MonthYear' bound to a category and the attribute 'Quantity' bound to a SimpleSeries.
    Thanks,
    Aviad

Maybe you are looking for

  • Web printing crystal report hangs on report.PrintOptions.PrinterName

    Hello, I have a report web page that displays a crystal report.  I have added a modal popup to allow them to select their printers.  When I go to print the report is hangs on the line of rpt.PrintOptions.PrinterName = li.Text.  The printer names are

  • Missing EXIF information on Export

    Hi Everyone,  have just purchased the Canon CP800 Photo Printer for my Mac,   seems as if I can't print any photo from my Aperture 3 library (All the pictures I own are in A3)   The problem,  and its been around for a while .. according to the variou

  • EAP-TLS problems with Cisco AP541N and Server 2008 NPS

    Hi, I want to use EAP-TLS with my shiny new certificates issued by my new Windows CA, and what happens? Nothing works. I don't have a clue what I should do. I try to establish a EAP-TLS connection using my Windows CE mobile device, but my cisco AP541

  • CS3, Encore; How to make a file for a mediaplayer

    Hallo there, How can I make a file in Encore CS3 that is readeble in a mediaplayer like a Popcorn. I know how to build a Blu-ray ofcourse, but I want to deliver a file to my customer for his mediaplayer. Can someone help me, because Adobe helpline in

  • Name of user instead of username

    I want to change username in the header of the page to name of user, while using HTML DB authentification. may be someone have any ideas, how to replce variable &user to something like 'select first_name||' '||last_name as name from wwv_flow_users wh