Problems with BusinessGraphics Gantt Chart: WebDynpro 7.1 SP3

Hi,
i tried the BusinessGraphics Gantt Chart and went through the Code Example for Displaying a Gantt Chart on:
http://help.sap.com/saphelp_nw04/helpdata/en/a8/1cd93f5e0f9015e10000000a155106/content.htm
Unfortunately my gantt does not look and behave like it should:
1)  The bars are only small sqares in the middle of one day. I use the same data as in the sample, so the bars should be a couple of days long
2) I added an action, added an EventID to the series and to the point, mapped the parameters. When clicking a point a roundtrip is done. I write a success message with the eventID but often the Gantt Picture is a broken image after this (small red cross).
3) The tooltip of the point is not shown in the chart when pointing on the square
Can anybody help, please?
Thanks
Frank

Thanks a lot! This solved one of three problems. The trick is that you can set the marker for the points (without any effect) and for the series (with effect).
The tooltip shows up now, too. No idea why now and not before...

Similar Messages

  • Event handling in Gantt chart Webdynpro Java

    Hi
    I have a Gantt chart where I have names(name1,name2..) in category(Y) axis.
    Now I want to fire an event when I click name1 or name2 .. on the Gantt chart
    where I will take name1 as parameter.Any idea with code will highly be appreciated and rewarded.
    Regards
    Sunit

    Hi,
      1. Create an action, say, "ChartClicked" with a parameter, say, "pointID" of type String. Set this as the action on the "onClick" event of the BusinessGraphics.
      2. In the wdDoModifyView method, write this code:
    if (firstTime)
      IWDBusinessGraphics chart = (IWDBusinessGraphics) view.getElement("<ID of BusinessGraphics>");
      chart.mappingOfOnAction().addSourceMapping("id", "pointID");
      3. In the eventhandler method, "onActionChartClicked", you'll see a String parameter called pointID. Depeneding on where you click on the graphics, this will change.
    Regards,
    Satyajit.

  • Problems in designing Gantt Charts through Web Dynpros

    Dear friends,
    We are having a situation in which we need to display the series of production orders in shop floor in a gantt chart having a specific start & end date and time.
    To implement this scenario, we are using Gantt Chart tool available in Web dynpro. In the gantt chart tool we are passing an XML file edited as per data to display production orders starting and ending at particular date and time.
    Now we are facing following problems to design this case.
    1. We are currently using type repository <TypeRepository href="apps/gantt/cprojects/TypeRepository.xml" version="1.0"> as a base type repository to define our XML file. This type repository we found in one of Gantt chart test examples. We believe if we are able to view this file we can know what types are available and how can we use their elements and attributes to define graph in XML file. Please help us how can we view this type repository.
    2. Currently we are viewing scale on Gantt chart only on date base. Can we view the scale at time base too? If yes, how?
    3. Currently we are manually editing our XML file to add up data that we want to display in our gantt charts. We would like to know what is standard procedure to edit XML file in a program. Additionally if you can tell us the functional modules or class-methods to edit XML file in program, this would be very helpful.
    Your kind help would be highly appreciated.
    Best regards,
    Navin Guru

    About where to find file apps/gantt/cprojects/TypeRepository.xml.
    Maybe it's not the best way, but i had access to portal server files (access to /usr/sap directory on server where enterprise portal was installed). And i found it there by jnet search criteria.
    In my case it layed in the following place:
    \usr\sap\<SID>\J01\j2ee\cluster\apps\sap.com\tcwddispwda\servlet_jsp\webdynpro\resources\sap.com\tcwddispwda\root\global\activeComp\

  • Problem with connector for ABAP Webdynpro

    Hello,
    I have a problem with a new Business Package :
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.pct/specialist/com.sap.pct.erp.instructor.bp_folder/com.sap.pct.erp.instructor.roles/com.sap.pct.erp.instructor.instructor/com.sap.pct.erp.instructor.instructor/overview/com.sap.pct.erp.instructor.work_overview/com.sap.pct.erp.instructor.work_overview/com.sap.pct.erp.instructor.instructor_worklist
    Component Name : com.sap.portal.appintegrator.sap.WebDynpro
    I think the problem is coming that I have no customized the connector with good values. Do you know a good blog or document to create a system alias dedicated to abap wedynpro or its bsp ?
    Regards,

    Yes, the UserId is the same in the portal and the BackEnd.
    Previously we used the ITS for our ESS and now we are using the Portal, so all have an UserId and all personal have the same Id as before.
    The first month it worked fine but when the password went out, in Back End, after 30 days, the question for login information appeared.
    Regards
    Ingvar

  • Problem with Stacked Bar Chart

    I have a problem with a stacked bar chart in Numbers 09. My chart is a single series with 6 categories. All of the categories have different values. The first 5 categories display correctly. However, the last category does not display in the color its supposed to, but rather shows up as white/background instead of the grey color shown on the legend. However, the value label is displayed in the proper place.
    When I select other chart types (pie, regular bar, or regular column) the category shows up like it's supposed to.
    This is kind of annoying since I would rather use stacked bar instead of a pie chart. Is there an upper limit on the number of values it can display as a stacked bar chart? Is this just a bug? Thanks!

    Here's my result with six values in a single series. I double clicked the last bar to change its colour from the default grey (which was visible) to magenta.
    Numbers 2.0.3, iBook G4, OS X v10.4.11
    (Shot in the dark:) Try double clicking the value label, then changing the order position of this item.
    Regards,
    Barry

  • Problem with Stacked area chart

    Hi all,
    I'm working on delivery data according to month having input(combo) as the year. I'm trying to display the data in percentages in Stacked area chart having series as ontime delivery, 1 week late, 2 weeks late,........5 weeks late and category labels as months. The problem is when I take the Preview of data I get to see the data for ontime, 1 week , 2 week as it should be but when I hover the mouse over the 2 weeks data area  mouse over values shows 5 weeks data(0 %) where as in reality the colored area belongs to 2 weeks data. I tried to delete 5 weeks series data and now it shows as 4 weeks data.
    What could be the problem ?
    Thanks

    >
    Raghavendra Gadhamsetty wrote:
    > Did you try adding the formula year(datefield) in X axis by removing the existing datefield?
    >
    > Regards,
    > Raghavendra
    Thanks for the answer regarding dates. I'm still awaiting an answer on the following part of my question:
    "My problem is that I am trying to configure a stacked area chart to show various related financial figures over the period of a year or more. My problem with a regular stacked area chart is that because of the large number of data points (daily) the X axis becomes far too chaotic with the large number of labels. The obvious option seems to be to use the "Show time scale" option in axis settings, however when you chose this option the "Date axis area" chart type is automatically chosen and this chart type doesn't seem to allow stacking. Can anybody help?"
    Thanks in advance for your help.
    Kind Regards,
    Mark

  • Help with a Gantt chart view (Project Tasks) - Tasks and chart misaligned vertically

    I have created a Gantt chart for a task list and on some computers (all on I.E. 9), the chart is misaligned with the table on the left.  The "row height" of the bars on the chart is less than the height of the rows in the table, so about 10-15
    tasks down the lists things become very misaligned, and by the bottom of the page, the table goes 2-3 complete rows past the bottom of the chart.  How can I correct this?
    On a similar note, is there a way to color code the bars or anything to make it easier to associate them with a task/assigned to/etc?

    This is a rendering error on IE, try changing your zoom level on the browser.

  • Problems with the line chart - dashboard

    I have a problem in the line chart in the dashboard SP4.
    Clicking on the legend of the graphic , the serie (line) disappears. Clicking again in the legend, the line appears but the markers don’t.
    Someone knows how to solve this problem?
    Follow the examples.
    Thanks.

    Hi Jane,
    This is definitely the tool problem.
    Might be you can try restarting xcelsius or your computer (sometimes it works, really !)
    Just out of curiosity, why do you want to clink on legends.

  • Problems with the Controller in WebDynpro

    Hello, I have a question: I am trying to do create files to my project in WebDynpro and it gives errors me, one of the so many errors that leave to me is: wdContext cannot be resolved, this to that it must? Another one is: IPrivateComponent cannot be resolved. I have already reimport the model and e I did rebuild to the project, no longer that but to do, hopefully they can help me.
    Thanks!!!
    Daniela

    Hello T
    he problem I am solved but I solve another problem that tapeworm with a mapping in the model and when resolve this problem, once more appear the error in the controller: wdContext cannot be you solve like the other errors. Volvi to make Repair and Rebuild but is not solved now, not that it can be
    Thanks
    Daniela

  • Problems with stacked bar chart in Java SDK and CRDesigner

    Hi @ll,
    I have an issue with the rendering of stacked bar charts through the Java SDK and the CRDesigner. unfortunately, my research in this forum and with the help of aunt google didn't lead to success.
    These are my problems:
    I have a  stacked bar chart which, when datasets/stacks increase in number per bar, displays errors:
    1.)  the single stacks of the bar merge together randomly and form bigger stacks with the sum of the singles. the information of  single stacks gets lost in the bar.
    2.)  the total sum of all singles is bigger than the maximum value on the y-axis displays. thus, the scaling is wrong.
    1.) appears in the CRDesigner as well as in the Java SDK
    2.) only occurs in the Java SDK
    Is there any trick to turn the random merging of slices off?
    Is the false scaling a known issue and is there a bugfix/workaround?
    many thanks for all advice
    Tom

    hi folks,
    i found the answer to the above problems:
    when you specify the recordfields that are responsible for the change to the next stack or bar, the 'stack' fields have to be unique.
    in my case i evaluated durations in msec (as stacks) from different devices (as bars). randomly i had the same durations for one device. what happens is, that CR does not notice a change and accumulates to the first stack with the same duration.
    surprisingly this also seems to derange the axis scaling. fix the problem by simply using an overall unique recordfield like rownum or a formula that forms the current timestamp to text as identifier for the stacking.
    cheers
    .t

  • Problem with Group Bar Chart

    Hi all ,
              i  need help as my requirement is  like i have three values (material,value1,value2) now i want to display data with the help of Group bar chart like for material1 value1 and value2 should be in BAR then again for material 2 value1 and value2 in BAR......  
    right now i am assining  value1 and value 2 to Value column of display template but i am gettin a graph like material1 value1(BAR) material2 value1(BAR) .....  material1 value2(BAR) material2 value2(BAR)...........which value i should set so i should get graph what i mentioned above .
    thanks in advance
    regards,
    Praveen

    Hi,
    Give the material in the label columns...( check with the requirement as the Legend show only the Material )
    Check this also.(May solve your problem)
    Change the type to Bar chart and give the value1 and value 2 in the value columns..
    Hope this may help you...
    Regards,
    Kishore

  • Problem with a pie chart

    Hi Gurus
    I try to do a pie chart and a i´ve a problem .in the format Categories i use percent 0.00% for to see the value but i can´t see the name of the categories .it´s possible and how ?
    thanks Gurs

    Hi,
    you can use $Category to display the category name in your format of a pie label. Combined with a line break your format string would look like <b>$Category$br$Percent0.00 "%"</b>.
    Note that you must have IGS 7.00 patch 10 to use this feature. See also SAP notes <a href="http://service.sap.com/sap/support/notes/1076634">1076634</a> and <a href="http://service.sap.com/sap/support/notes/1064448">1064448</a> for more information.
    Best regards
    Matthias

  • Problem with loading column chart in flex2

    Hi All,
    I am facing a strange problem in designing a column chart. I have a page where i have two column charts. The data providr for both the charts is same. I have an xml with three categories of values, and each chart  uses two of these with one of them being common and they are actually sorted based on one of those values. The problem here is that one chart shows proper values while the other (though shows proper values) it doesnt render it properly in the sense that the height of the columns and the value of that particular column are not consistent. What could be the issue????

    It's necessary to discard the white spaces.
    Set the ignoreWhite property to true.
    document.ignoreWhite = true;
    Regards,
    Erick Souza | ericksouza.com

  • Trendline Problems with Numeric Axis Charts

    I am attempting to create a chart in Crystal Report XI that lists the time period (months) on the x-axis and the number of units sold on the y-axis. I have created the chart as a numeric axis bar chart because there are some months that do not have any units sold and converted the dates through a formula to periods where the first month requested equals 0 and each of the following months is incremented by 1.  The problem I am having is that the data is displayed correctly but when I request a trendline be displayed, I am getting a trendline that does not correspond with the data. For example I have a 60 month time period where half the months are zero and the maximum number of units sold is 8 and the trend line runs from 30 at period 0 and 24 at period 60. The equation is displayed as y=-1.1x29.9 and the actual trendline should be y=0.0078x0.5802. The trendline in a side by side bar chart is closer but is skewed by the fact that periods with no units sold is not displayed but is closer than what I am getting with the numeric axis bar chart. I have also noted that if I change the scale of the x-axis from automatic or change the gap width, I get wildly different trendlines for each change that still does not match the data. I have also tried to use the date axis bar chart but again the data is presented correctly but the trendline is not correct. So my question is: Can I use a side by side bar chart, in which the trendline seems more accurate, that can account for months with no data and/or is there something that I am missing on setting up a trendline for a numeric axis chart?

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Problems with SVG line charts based on PL/SQL returning SQL

    Dear all - I wonder if anyone can tell me whether this problem is likely to be fixed at some point?
    It relates to the fact that you can't get more than one series on a chart where the SQL is returned from PL/SQL.
    It is a huge issue for us when trying to create complex, dynamic charts, which are simple enough in PL/SQL, but end up quite nightmarish in pure SQL.
    Although we have implemented Maani SWF (Flash) charts as a workaround, users don't like them as there's no 'save as...' or copy+paste and they seem to print very badly indeed.
    Here's part of a post from last May with more detail:
    "If I take a really simple table like this:
    CREATE TABLE "CHART_TEST"
    ( "X" DATE NOT NULL ENABLE,
    "Y" NUMBER(5,0) NOT NULL ENABLE,
    CONSTRAINT "CHART_TEST_PK" PRIMARY KEY ("X") ENABLE
    and populate it with:
    X Y
    2006-01-01T00:00:00 1
    2006-02-01T00:00:00 2
    2006-03-01T00:00:00 3
    2006-04-01T00:00:00 4
    2006-05-01T00:00:00 5
    2006-06-01T00:00:00 6
    2006-07-01T00:00:00 7
    2006-08-01T00:00:00 8
    2006-09-01T00:00:00 9
    2006-10-01T00:00:00 10
    I can create a chart with a single series using syntax something like:
    begin
    return 'select null link, x label, y value
    from chart_test';
    end;
    and this works fine. However, if I add a second series:
    begin
    return 'select null link, x label, (y + 1) value
    from chart_test';
    end;
    then the whole of the chart region blanks out.
    There's an example at:
    http://htmldb.oracle.com/pls/otn/f?p=15491:1"
    Many thanks,
    John.

    On some, but not all SVG line charts, I had trouble when some values are ZERO.
    Putting a CASE WHEN var = 0 then 0.05 ELSE var END in the select statement
    fixed those situations.
    I had missing lines when the number of data points in a series exceeded the default number of 15, and I did not set in the series configuration to a number equal to or higher that the number of data points in that series.
    And I had one instance, where a couple missing lines reappeared when I exited
    the browser and app completely and restarted the app.
    All these comments apply to ver 1.6x and 2.0x

Maybe you are looking for

  • My 3gs wont show up in itunes, on my mac

    I have an iphone 3gs and for some reason it would connect to my itunes. it used to work and now it jsut stoped. it still charges and works fine there are no problems with either computer or iphone other than the connection. i am using and macbook pro

  • Adding our own function to sap standard function code.

    HI, My requirement is to add a functionality to icon(import) on alv application tool bar so that the customer get a popup message after data is transfered to excel. is that possible. else i want to know the procedure to pass header of my alv when i t

  • How come i can't remotely lock my stolen macbook air since last week?

    how come i can't remotely lock my stolen macbook air since last week? Is it possible for the thief to go arround this system? When it was stolen around the afternoon, i could only trie to locate it in the evening. They must have done already somethin

  • ACE Load Balance setup and testing - vip

    Got a new ACE 4710 and am I new to the appliance. I am testing out a senario with load balancing between two servers. In testing when I ping the VIP ip address the replies I see are from the real server ip addresses. I am just wondering if this is th

  • Does Aperture 3 support these Leica cameras?

    Hi, Looking at getting one of the two new Leica cameras - the D-Lux-5 or the V-Lux-2. I'd like to know if Aperture 3 (on Snow Leopard) supports the Raw files for these two cameras, which, based on looking at the Leica forums, are RW2 and RWL files. T