Business Graphics : co-ordinate Category Axis & Data Points

Hello Experts,
I have a Category axis with 30 Descriptions and Data points (Series) with 29 Points. How to place Category axis with respect to the data points? Right now, the data points are plotted without considering the category values.
Please suggest ASAP
nikhil

Hi Nikhil,
I'm little confused here - do you mean to say that you do not have data point for one category description ?
Refer https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3261cd90-0201-0010-268c-d8d72e358af6 (might be helpful).
Kind Regards,
Nitin
PS: Also go thru init code under 'Supplying the Context with Data' section.
Edited by: Nitin Jain on Apr 3, 2009 8:46 PM

Similar Messages

  • Business Graphics and WebEnterprise

    I have a two part question.
    First, what is the best way to create business graphics such as line, bar,
    and point graphs? OLE to Excel, OCX, some third party commercial graphics
    library such as Brahma Software's Beacon?
    Second, once I have a business graphic what is the best way to display these
    graphics on a web page? A number of Forte field widgets such as ellipse,
    polyline, and point do not have a corresponding HTML element and therefore
    the Forte WebEnterprise WindowConverter class cannot convert these windows.
    Is there a way to save Forte images as BMP/JPG images?
    Thanks,
    Douglas Wheeler (mailto:[email protected])
    BORN Information Services, Inc. (http://www.born.com)
    Tel: 612.404.4379 Fax: 621.404.4441
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    exactly!
    many ways to do this
    1.U can use WDCopyService(Source ,Target)  here Source : return node of model data
                                                                               Target : Your temporary value node which bound to BG.
    Note : Each time when ever model data get updated(CRUD) u have to call this node.
    2. Use Mapping type node and bind it to BG ui element  exe : when we create any node It has 4 options one of them is Mapping select this and provide the model node
      (mapping of node with model node is replica of the content there in model node, here u don't have to worry about updated content since its replica and get changed eveytime when model operations is performed)
    Best Regards
    Satish Kumar

  • Business Graphics: Link between SeriesList and Categories

    Hello everyone,
    I have a Business Graphics with a Category Subelement and a SeriesList with a Value inserted.
    The Series List is linked to a node, so my series are dinamically created during runtime. My problem is that the number of categories i have are allways different from the number of series, and categories is a discret set of values known at design time. How do i link each category to a set of values from the SeriesList ?
                        Thank you in advance,
                                  Nuno Santos

    Hi Nuno,
    Check this link you will get the code.
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/08b6eb35637a44830b9e6df22987aa/frameset.htm
    IPrivateGanttTestView.ICategoryNode catNode = wdContext.nodeCategory();
        for (int catIndex = 0; catIndex < catLabels.length; ++catIndex)
          IPrivateGanttTestView.ICategoryElement
                  catElement = catNode.createCategoryElement();
          catNode.addElement(catElement);
          catElement.setDescription(catLabels[catIndex]);
        // loop over series
        IPrivateGanttTestView.ISeriesNode seriesNode = wdContext.nodeSeries();
        for (int seriesIndex = 0; seriesIndex < timeValues.length; ++seriesIndex)
          IPrivateGanttTestView.ISeriesElement
                  seriesElement = seriesNode.createSeriesElement();
          seriesNode.addElement(seriesElement);
          // set series attributes (...)
          IPrivateGanttTestView.IPointNode pointNode = seriesElement.nodePoint();
          // loop over points
          for (int pointIndex = 0; pointIndex < timeValues[seriesIndex].length;
               ++pointIndex)
            IPrivateGanttTestView.IPointElement
                    pointElement = pointNode.createPointElement();
            pointNode.addElement(pointElement); 
            pointElement.setStartValue(timeValues[seriesIndex][pointIndex][0]);
            pointElement.setEndValue(timeValues[seriesIndex][pointIndex][1]);
            pointElement.setCuId(pointCustomizing[seriesIndex][pointIndex]);
            pointElement.setLabel(pointLabels[seriesIndex][pointIndex]);    
    Regards,
    Mithu

  • Business Graphics - Stacked Column - Stack with different colours

    Hello Experts,
    In the Webdynpro application, I'm using a business graphics UI element and displaying data in stacked columns. The color of the stacks are by default assigned by the framework. But I would like to change the color of the stacks and want to assign my own colors to each stacks. Is this possible in SAP Netweaver 7.1?
    Thanks and Regards,
    Saravanan

    Hi saraa,
    Go to EDIT CUSTOMIZING to change colors etc..
    Please go through this..
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81?quicklink=index&overridelayout=true
    also read this...http://help.sap.com/saphelp_nw04s/helpdata/en/ed/258841a79f1609e10000000a155106/content.htm
    Cheers,
    Kris.
    Edited by: kissnas on Apr 12, 2011 11:06 AM

  • Creating Gantt charts using Business Graphics that can be downloaded

    The short version is I need the format for XML data to create a Gantt chart in a Business Graphics UI Element in order to be able to automatically email it.  The long version is...
    I currently have a Web Dynpro ABAP component that displays a Gantt chart using a Business Graphics UI Element based off data in various other UI elements in the view.
    This works fine and the graph displays nicely, but I cannot find a way to download that straight from the Business Graphics UI Element.  Having read around the forum there appears to be two options:
    - Code it up myself by calling methods on the IGS API directly
    - Bind the image data attribute on the element and get the data that way
    Unfortunatly, we are not currently running a recent enough version (702/720) to be able to do the latter and so, unless there is another way, I need to code up the API calls myself.
    So far I have got a business graphic in to an Adobe PDF form, loaded in my config data so it appears as a Gantt chart but I cannot figure out the format for the actual data that needs to be sent through in XML.  Does anyone have example XML data or code to generate it that can be sent in to the call:
    l_igs_ce->set_data( EXPORTING data_doc = p_ixml_doc ).
    I have used the example in GRAPHICS_IGS_CE_TEST and the page http://liualex.com/archives/185 to generate the image and load the config data in but this only explains the XML format of the chart data for bar graphs.
    Many thanks

    Found my answer,
    This download: http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/e0a9ba90-0201-0010-d3a2-9cb376b5e181
    This is the SAP Chart Designer, it contains a PDF which explains the XML format used, you can use it to manually create your own XML streams.

  • Trying to export x and y data points into excel

    Hi guys,
    I'm in a bit of a time crunch and I've been trying to figure a simple issue out.  I've been trying to export the x and y data points into an excel file.  I thought trying to use a property node would work but I've been tinkering with different subsets of the specific property nodes without any success.  The current issue I'm having right now is that the current way I have the data points into the excel file is incorrect because it's not including the x axis data points.  Additionally, I have thousands of data points that really slows things down.  I have attached the vi.  Thanks.
    Jon
    Attachments:
    UltraPCIe.vi ‏460 KB

    Hi Bill,
    Thanks for the note.  Yes, I am using that said vi.  I have attached the jpeg version of the block diagram for you.  Thanks!
    Jon
    Attachments:
    Update2.jpg ‏257 KB

  • 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

  • How to Axis labels for Line charts in Business Graphics

    Hi
    I am planning to do the Business Graphic example using Line chart.As part of this
    i didn't clearly understand what is the perpose of Series,Points,categorys?
    if i want to set the Labels at X-axis and y axis ,then how to do that?Baiscally i want to put time related data as X-axis label(20min,30min,60 min etc).Please help.
    is there any good example to understand the concept?
    Thanks
    Prasad

    Hi Bachier
    Thanks for your repsonce.I had seen the example you suggested.but there is no answer for my question.How to set the x-Axis,Y-axis Labels.I had done example for "line chart".But i have same problem:
    Hi
    I am trying to do example on "line chart" using Business graphics in my webdynpro application.
    In the Context i created Node "A" under which i created "B".then it has  value attributes xValue,yValue.Then in View i created BG UI element >Series>point-->NumericValue(for xValue) ,NumericaValue(yValue).Now in view init() method i had initialized values to x and y. some output is coming.but i want to know how to set the X-Axis Label,y-Axis Labels.in X-Aix Label i want to mention time in hrs i.e 8.00,8.30AM,9.00AM,9.30AM etc.as part of y-axis labels i want to mention numeric values( .2,.4,.8,2.0 etc). Please tell me how to set this X-Axis,y-Axis labels.at every 30min(8.00Am,8.30AM etc) user enter quality data(i.e .2 etc) then i want to generate chart.Please help in this regard.i will give very good points
    Thanks
    Prasad

  • How can i do different colors for the category in business graphics

    Hi everybody,
    i have a business graphics and i need different colors for the category. my business graphics is a gantt.
    for example
    category1
    category2
    category2
    and so on.
    Is there a solution for this? How can i do it?
    Best regards,
    Markus

    Sorry.
    In my opinion, this requirement can not be resolved.
    Generally, we use Business Graphic with Category, we just follow:
    DATA:lr_graph TYPE REF TO cl_wd_business_graphics.
    lr_graph = cl_wd_business_graphics=>new_business_graphics(
        bind_series_source = 'NODE_DYN'
        chart_type = cl_wd_business_graphics=>e_chart_type-BARS
        height = 340
        width = 750
    *     BIND_TOOLTIP = 'GRAPH.TT'
        id = 'GRAPH' ).
    DATA: lr_bgr_cs TYPE REF TO cl_wd_category.
    lr_bgr_cs = cl_wd_category=>new_category(
    view = wd_this->mr_view
    bind_description = 'NODE_DYN.CATEGORY').
    lr_graph->set_category( lr_bgr_cs ).
    If we go to SE24, to check  the class "CL_WD_CATEGORY", we cannot find any method  or attribute about how to manipulate  the "Category Font Color"...
    Maybe,any other expert can give you fantastic solution, hope. Best wishes.

  • Business graphics need more than one category

    Dear All,
         We have a issue for business graphics need more than one category about web dynpro abap.
       Our data:
       plant   month   qty
      1000   201101  10
      1000   201102  30
      2000   201101  30
      2000  201103   40
    Now we need one category for "plant" and other category  for "month", Data is qty.

    Hello Bill,
    could you explain bit more about your requirement? How would you like the graph to be renderded with two categories. Can't you club Plant and Month into one single category (1000-201101) and display it?
    BR, Saravanan

  • Fixed length co-ordinates for business graphics

    Hi,
    We are using business graphics UI element with (chart type  : Bars, Columns). The graphics output is working fine but the co-ordinates value of series is automatically getting adjusted to the maximum value of series values obtained.
    But i want the co-ordinates values to be of fixed length. I tried changing the customizing values for value axis (Minimum value - 0 and Maximum value - 100) but doesnt seem to work.
    Can someone help me on how to achieve this?
    Regards,
    Vijay

    Hello Vijay Raj,
    the MinimumCalculation / MaximumCalculation needs to be set to UserDefined.
    Kind regards,
    Silke
    <ChartAxes>
      <ValueAxis id="ValueAxis1">
        <Minimum>0</Minimum>
        <MinimumCalculation>UserDefined</MinimumCalculation>   
         <Maximum>100</Maximum>
        <MaximumCalculation>UserDefined</MaximumCalculation>
      </TimeAxis>
    </ChartAxes>

  • Refresh the Business Graphics Data on click of next page event of a table

    Hi Experts,
    We are using Business Graphics UI element in Web dynpro Java to display a table data.
    We are limiting the graphics data to 12 table entries at a time.
    Now, I just want to know how can we refresh the Business Graphics data when the user clicks on the Next Page option at the bottom of the table.
    This is applicable if we have more than 12 table entries and we've restricted the visible row count to 12.
    So, for more than 12 entries; when the user selects the next page, I want the next set of data to be displayed in the Business Graphics UI element.
    But I am not able to get the action for the Next Page event.
    Please note that we are on Netweaver 7.01.
    Kindly suggest as how can we achieve this functionality.
    Kind Regards,
    Anurag

    check this
    Web Dynpro Java Table Paging Unleashed: Optimizing Heavy Table Performance

  • Crystal Reports - Charts - Restricting the data points on the X-axis

    Hi,
    Is there a way to restrict the number of points to display on the x-axis of a crystal chart keeping the number of data points the same.
    For example, if the chart plots date vs value points and the data for the chart is from 1980 to 2009. This means the data points on the x-axis appear very close to each other.
    I need a way to show the chart with all data from 1980 to 2009 but limited x-axis labels. Is there a way to configure the number of labels to show on the x-axis.
    Thanks!

    Thanks for the answer.
    "Right click on one of the x axis labels and select Group (X) Axis Options...
    On the Layout tab there is an option to Skip Group Labels, check this and enter in the number of labels you want to skip". Is there a way to do this from a .NET client or via a formula field in Crystal itself. The data points is going to be dynamic, hence the requirement is to dynamically configure the "number of labels" to be skipped.
    Thanks.

  • Showing one data point on a line chart - X-axis label placed away from its actual position

    Hi Guys,
         In line chart, i used CircleItemRenderer to show single data point. It shows correctly if it is single data point. But the x-axis label placed away from its actual position. Right now it displayed left most position where the line chart starts. I need to move that label straight of that datapoint where it plotted.  Please see the screen shot attached with this post.
    In screen shot, x-axis label "Jan" displayed in left most position.
         And how can we show the datatip for single datapoint. At present, we can't able to see the datatips also with single datapoint.
         Can any body help me to fix those two issues.

    I figured out a way to customize a single datapoint in a line series.  The solution is at this link:
    http://www.flexdeveloper.eu/forums/flex-charting/customize-a-datapoint-in-a-line-series/

  • How can you rotate the labels on the category axis of a graph in Illustrator and have it stay the same when updating the graph data?

    I am needing to create a line graph with dates consisting of MM/DD/YY along the category axis. I would like to rotate the labels 45 degrees and have them stay when I update the graph. I have read about manually doing it, I even made an action to make it faster, but it still seems inefficient. Is there a setting that I could use to automatically create my labels as rotated? Thanks.

    Hi Gravy Train,
    I'm curious about why you are using 2 loops.   You mentioned one is for monitoring and one is for DAQ....what do you mean by that?   What is the overall goal of this piece of code.   Also, I noticed that you are not closing the task.   Since this is just a subset, I realize you could be closing it in your actual code, but just in case you're not.....it is very important that you close all tasks when you are down acquiring data.
    Best Regards,
    Starla T  

Maybe you are looking for

  • CUCM 8.6.2 /common Partition on read-only mode

    Hi Guys. We have installed a CUCM 8.6.2 on a UCS C210 and everything was looking fine for the last two weeks. I´ve noticed that "CDR Repository Manager" and "Cisco CAR DB" was not running, so I´ve accessed the CLI to start the "Cisco CAR DB" service.

  • How can I test a NT service from the outside process?

    We have an application that have an unknown problem (we actively search at this moment). The problem is such that the service associated with it seem to "freeze". The application is not responding to any demand (jsp,rmi) and the logs are not coherent

  • A few short SD blocking questions...

    Hi all, i got a few questions which the most of you probably can answer rather easily: 1. Is it possible in SD (5.0) to register that a customer has to be blocked on a future date? 2. Is it possible in SD to block a customer only for ordering (read:

  • Dealing with problem where calling to webutil_host on form startup

    hey , i try to call webutil_host in order to open an external .NET form. this done on form startup (on when-new-form-instance calling). the call: WEBUTIL_HOST.NONBLOCKING(v_url_path); (on forms 10). as a result , i get: oracle.forms.webutil.host.host

  • 1067: Implicit coercion of a value of type Class to an unrelated type flash.display:MovieClip

    Hello, i've a class named LoadImages with the code: package     import flash.display.MovieClip;     import flash.events.MouseEvent;     import flash.events.Event;     import flash.display.Loader;     public class LoadImages extends MovieClip