Gantt chart and calender weeks

Hi,
I have to build a gantt chart and additional to Month year and date I have to show the calender weeks.
How can I do this?
I think it should be in between this part
<locale>
<date_time_format week_starts_from_monday="True">
<months>
<names>January,February,March,April,May,June,July,August,September,October,November,December</names>
<short_names>Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec</short_names>
</months>
<week_days>
<names>Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday</names>
<short_names>Sun,Mon,Tue,Wed,Thu,Fri,Sat</short_names>
</week_days>
<format>
<full>%yyyy.%MM.%dd.%HH.%mm.%ss</full>
<date>%yyyy.%MM.%dd</date>
<time>%HH.%mm.%ss</time>
</format>
</date_time_format>
</locale>
Please help me.
Regards
Siegwin

Hi Siegwin,
I've done some digging through the AnyChart documentation, and it looks like you need to look at setting a scale pattern for your Gantt chart. Take a look at the section called Date Time Scale Units Patterns in the AnyChart AnyGantt User's Guide, here: http://anychart.com/products/anygantt/docs/users-guide/timeline-scale.html?fromtree#date-time-patterns. I've updated one of my existing sample Gantt charts to apply a <weeks> pattern, which now displays the calendar week above each week - http://apex.oracle.com/pls/apex/f?p=36648:50 - you'll need to zoom in on the timeline in order to see the weeks of course. To achieve this, I just updated the custom XML region:
from
  <timeline>
    <plot line_height="30" item_height="15" item_padding="5" />
  </timeline>to
  <timeline>
    <plot line_height="30" item_height="15" item_padding="5" />
    <scale>
      <patterns>
        <weeks>
          <pattern>%e</pattern>
        </weeks>
      </patterns>
    </scale>
  </timeline>I would recommend that you review the AnyChart AnyGantt User's Guide (http://anychart.com/products/anygantt/docs/users-guide/index.html) and XML Reference (http://anychart.com/products/anygantt/docs/xmlReference/index.html) for any further customisations that you wish to apply to your chart, as they provide some very useful examples and associated XML code, which can prove very helpful.
Regards,
Hilary

Similar Messages

  • GANTT Chart and displaying Milestones

    I have installed the "Box Charts -GANTT" chart and things look great. However, I would like to be able to display Milestones (start_date = end_date) as another object besides the BAR (ex: triangle). Any help/recommedations with this are greatly appreciated.
    - David

    use a query as the next for the task type parameter (it is on the help of jDeveloper 4 the gantt chart):
    second view object should query the details of each task. For example, it may look like this: SELECT project_id, top_task_id, task_id,
    task_number, task_name, scheduled_start_date start_from,
    scheduled_finish_date end_to, task_manager_name text_right,
    decode(scheduled_start_date, scheduled_finish_date, 'milestone',
    decode(top_task_id, task_id, 'summary', 'normal')) task_type
    FROM pa_tasks_v

  • Traffic light in Gantt chart and Colour change in the same.

    Dear All,
    I have designed an interactive ALV report and put a button in the output to display Gantt Chart. The Gantt chart is displaying fine after pressing the button based on the output.
    I have two questions as below.
    1) Is it possible to diplay Traffic light in Gantt chart output from an interactive report. Please provide the code as well as process.
    2) How to change the colour of the fields like date or time field of the Gantt chart output from an interactive report. Please provide the code as well as process.
    Shyamal.
    ABAP.

    Hi friend,
    For displaying trafic lights there is a simple options in the layout
    under exceptions there are few fields,
    lights_fieldname type slis_fieldname,
    lights_tabname type slis_tabname,
    lights_rollname like dfies-rollname,
    lights_condense(1) type c.
    First two fields will server the purpose if you need extra manipulation can go for other two also.
    And for changing color in the fields there is an option called emphasize(4) in fieldcatlog which will do your purpose.
    I think you know your requirement and code better so its better to adapt this in your logic the using our logic which will make you confuse.
    if you want to highlight a particular cell in the ALV go for this codes in Wiki.
    If you still need any help please revert back to me i will help you.
    Thanks,
    Sri Hari

  • Gantt Chart in Service Resource planning

    Hi All,
               I want help on Gantt Chart.I want to modify the gantt chart .can anybody tell me plaese where we can chage the gantt chart.My basic requirement is that i want display the multiple line in tooltip.currently his display the aal the data in one row.My second requirement is that ,i want to display the only 1 week when i display gantt chart as a weekly mode.where should i have to go and change the functionality.i think gantt chart display on web ui using java application.Please help me on this.
    Thanks in Advance..............
    Vishwas Sahu

    Hello Bhanu ,
    Go thru the link http://help.sap.com/saap/sap_bp/CRM_XX/HTML/index.htm
    and open C3O document for more information on Service resource planning.

  • Resource details are not getting displayed in gantt chart -- R12 instance

    Hi All,
    we are working on a scenarior in R12 instance.
    when we run a resource constraint plan and navigate to Gantt chart the complete application is getting hanged and it is not Displaying any resource details.
    Before 2 days we were able to view the Gantt chart and resource details were populating properly.
    Resource Avalability and usage is correct.
    Thanks,
    Vasudha

    Hi
    In R12 Gantt chart is enhanced to show resource gantt in 3 different view. Res units view,resource hours view and res availability view.
    Please do the following and see if it works.
    On work bench go to Tools , preferences > set gantt chart preferences. even if u want to leave them as default, uncheck something save., and check again and save.
    Let me know if it works.
    Tnx
    Partha

  • HELP!! How to use setData for a Gantt-Chart

    Hello,
    how can I use the function setData? I've created a page with a resource-gantt-chart and now I want to use this function to set the data to the chart.
    The chart has the attribute "static id" = GANT_CHART.
    In the HTML-header of the page I tried
    <script language="JavaScript" type="text/javascript">
    function SetDataToChart() {
    var data = &F_GANTT_CHART_DATA.;
    var chart = document.getElementById('GANTT_CHART');
    chart.setData(data);
    </script>
    where the item F_GANTT_CHART_DATA returns the following:
    <resource_chart>
    <resources>
    <resource id="3002" name="0400006/1" />
    </resources>
    </resource_chart>
    I call the function SetDataToChart() in "Execute when page loads"
    Thank you for any help!
    Edited by: Kirsten on Aug 4, 2011 5:40 AM

    Hi Shyam,
    Have a look at this,
    START-OF-SELECTION.
      gd_file = p_infile.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = gd_file
          has_field_separator     = 'X'  "file is TAB delimited
        TABLES
          data_tab                = it_record
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
        IF sy-subrc NE 0.
          write: 'Error ', sy-subrc, 'returned from GUI_UPLOAD FM'.
          skip.
        endif.
    Regards,
    Sai

  • Gantt Chart Related Problem

    Project Link:
    PPPM
    How to solve these problems.
    Problem 1:
    I have to scroll both the Gantt Chart and Task List scroll
    simultaneously. When i scroll Gantt Chart , then at the same time
    Task List and vice versa.
    Problem 2:
    How to stop Gantt Chart header movement stop when scroll the
    Gantt Chart.
    Problem 3:
    In the Gantt Chart Node, there are 2 section. One is dark
    section and other is lite section. I have to slide these scctions
    like like HDevidedBox effect.
    Please help me out from these problems.

    Hi Vedant,
    values are displayed in pie chart their label is not display.
    So you're able to view the value and label information when you hover over a slice i.e. viewing the tooltip, but you can't see the actual label for each slice of the pie. If you're not seeing all of the labels for the slices of the Pie chart, then this could due to a couple of reasons:
    1) the length of the label
    2) the position of the label
    3) the size of the chart
    Keep in mind that displaying all 41 labels on the chart could result in an extremely cluttered looking chart. AnyChart controls the visibility of the labels, depending on the above factors. So if your labels are quite lengthy, for example, and they are positioned to be displayed outside the chart, then AnyChart will display what labels it can for the given chart size. To work around this, having tooltips enabled is a good starting point. Alternatively, you could look at decreasing the length of the label text, changing the label position or even increasing the size of the chart. For further information on the label formatting, I would recommend reviewing AnyChart's online documentation, here: http://anychart.com/products/anychart/docs/users-guide/label-text-formatting.html?fromtree.
    Regards,
    Hilary

  • Gantt Chart in Project Status Report

    Hi Folks,
    We are doing a custom development and creating our own Project Status Report PDF form. Is there a way (standard FM or otherwise) to generate a Gantt chart and show it on the PDF form.
    The Gantt chart itself is not of the whole project structure. It is only the phases. Most projects will have 4-5 phases maximum. The Gantt chart also does not need to be too sophisticated, we just need a high level graphical representation of the phase timelines.
    Let me know if my question is not clear and I can elaborate.
    Thanks
    Lashan

    Hello Lashan,
    Building the Gantt chart in a PDF report is quite tricky. The Gantt chart view you see in cProjects is a different SAP component, JGantt (developed in Java), which is connected to the system.
    Adobe forms don't have a standard Gantt element, so you'll have to render it somewhere else and send it to the form in a binary format.
    For creating and rendering the graphic you can use the SAP IGS (Internet Graphics Service).
    You can find some details here: http://help.sap.com/saphelp_nw04s/helpdata/en/17/86c039c7811f11e10000000a114084/content.htm
    This is a little bit more complicated, you also need to use iXML libraries to transform all the Gantt data into the IGS required format.
    The end result will not really look like the Gantt view, but it will contain all necessary information:
    Is this the kind of graphic you need to develop?
    Cheers,
    Tudor

  • How to show a Milestone in a Gantt Chart?

    Hi All,
    I have made a Gantt Chart and want to show a milestone for a particular date.
    I am trying the following code in my BSP Page and I can see the text i.e (Test) in the UI but can not see the milestone icon.
    <i><phtmlb:ganttChartActivity row       = "5"
                                         startDate = "20070604"
                                         endDate   = "20070604"
                                         text        = "Test"
                                         color     = "BLACK"                                    
                                         type      = "MILESTONE"
                                         shading   = "SOLID"
                                         textInsideActivity = "false" /></i>
    Can anyone please help me.
    <b>Regards,</b>
    Abhinav

    Hi Patrick,
    I have gone through the thread and the note provided in the thread, It is useful.
    But for some reason even after following everything properly the Milestone symbol does not appear in my ganttChart but the text which I have provided for the Milestone appears on my ganttChart.
    I have even gone through "ganttChartSample.htm" in BSP Application
    "bspext_phtmlb" and followed the same thing still the milestone symbol does not apear at all.
    Regards,
    Abhinav

  • Gantt chart- How to change the color of time bars of different versions

    Hi All,
    My Client wants to see all changes in planning schedule. I made different versions of these changes but he also want to see all these changes in gantt chart and in different colors. I tried to change the color in planning board assistant but in this screen (CJ27/ CJ2B). we cannot view all versions together. And if I use CN41, there I cannot change the colors of time bars.
    Secondly, we can change colors of times bars of basic dates, forecast dates and actual dates but there is no provision to change the colors of schedule bars of different project versions. Kindly reply-
    1. How to see all project versions in CJ27 or How to customise bar chart in cn41 or if we change in SPRO, then how to change graphic profile in project info profile
    2. How to change colors of different time bars of different versions.
    3. How to mention these legends (meaning of each color in chart) at footer of gantt chart (in print outs)
    Please Help.
    Thanks & Regards
    Dinesh Chauhan

    Thanks,
    actually I've created new project planning board profile where planning board assistant is customized but unable to use this profile in CN41. we can change PS info profile in CN41 and that;s why I thought that planning board profile may be assigned somewhere in PS info profile so that changes in planning board assistant will be applied in CN41 through PS info profile. Graphic profile is too complex to understand and not sure if it will help to get colored time bars of projct versions in gantt chart. Still not clear.
    Secondly not able to see all versions (snap shots) in gantt chart with different colors of time bars.
    I mean planning board screen can be customized but we cannt see different versions here which are possible in CN41, but we cannt customize the gantt chart (time bars) in CN41. Pls help.
    Thx & Regards
    Dinesh Chauhan

  • There is a view named &gantt chart in this project which cannot be overwritten

    Hello,
    I'm using Project Server 2007 SP2. While opening a plan, we are getting the following error
    "There is a view named &gantt chart in this project which cannot be overwritten"
    However, we are not getting the same error for other plan. Is there any changes to be done in the enterprise Global? How to rectify the error? Kindly help.
    Thanks!

    Sandhya987 --
    In addition to Guillaume's excellent answer, you should know that this problem was not caused by the project manager.  The problem was caused solely by the actions of the Project Server administrator.  The Enterprise Global file is reserved for
    ONLY enterprise views, tables, filters, and groups.  For example, there is a default enterprise view named Enterprise Gantt Chart and there is a default enterprise table named Enterprise Entry.  The Project Server administrator should NEVER add local
    views to the Enterprise Global, such as the Gantt Chart, Resource Sheet, etc.
    So, how did the Gantt Chart view end up in the Enterprise Global?  I doubt the Project Server administrator did this intentionally.  Instead, my guess is that he/she applied the regular Gantt Chart view while he/she had the Enterprise Global file
    open for editing.  If the Project Server administrator applies any local view (such as the Gantt Chart view) while he/she has the Enterprise Global file open for editing, Microsoft Project COPIES that view and its default table into the Enterprise Global
    file.  So, if he/she applies the Gantt Chart view while he/she has the Enterprise Global file open, Microsoft Project copies BOTH the Gantt Chart view AND the Entry table into the Enterprise Global file, thus polluting the Enterprise Global file with
    a local view and table.
    To clean up the pollution, keep in mind that your Project Server administrator will need to delete all local view AND all local tables as well.  As the article indicates, as cited by Guillaume, the problem you are facing is a common one, so welcome
    to the club!  :)
    Hope this extra helps.
    Dale A. Howard [MVP]

  • Editable column in GANTT chart - extra filter

    Hello,
    My requirement is:
    I'd like to add extra row (1st) as filter in GANTT chart and in Multiproject monitor. Part of it is already done ( the cell is in place, and the event is handled), but the problem is, when viewing a single project, filter cell is available only when the project is in edit mode. In MP mode there is no edit mode, display only. Which makes the content of the filtering cell unavaiable in multiproject view.
    I understand this is connected to the XML attribute value of:
    <Mode>
      <Editor>LAYOUT</Editor>
      </Mode>
    when in display mode or when in edit
    <Mode>
      <Editor>EDITOR</Editor>
      </Mode>
    The question is, is it possible to have the whole chart in editor LAYOUT, with a single cell set to editable? I tried setting the attribute EDITABLE to true, but it doesn't work for editor = LAYOUT.
    Thanks for any hints,
    Michal

    even crazier than report editor :)
    you can create an activity UDF like "Predecessor Names" and run a script (trigger or job initiated) directly on the database to give it values for every activity, by joining Activity Names of any predecessors. you would have to trim that to some max varchar value (default for text udf's is 255 which may quickly prove insufficient).
    I seriously doubt that is feasable (little value for effort, affects performance and possibly risks db integrity if inproperly done).

  • Gantt Chart Legend

    Hi,
    I'm currently working on a gantt chart and facing problem with the legend. I couldn't modify the legend accordingly. I have tried using the codes from <a href="http://help.sap.com/saphelp_nw04/helpdata/en/a8/1cd93f5e0f9015e10000000a155106/frameset.htm">Help</a> but I just couldn't produce my own legend. I would very much appreciate if any gurus can help me with the coding part. Currently the legend will take the label name from Series-> label.
    Thanks in advance.
    Joanne

    Hi,
    as I wrote in your previous thread the behaviour depends on the Gantts property UseCategories. This also influences the legend.
    If UseCategories is true:
    the legend displays the labels of the series; additionally it can display point customizing (set Legend.MoreInfo = true and provide a Caption in your point customizing).
    If UseCategories is fals:
    the legend does not display series labels; if you set the MoreInfo of the legend to true it will display all Captions of all point customizing (even the ones that are not referenced by your data!).
    Regards, Kai

  • Issue in Pop-up behaviour within Gantt chart

    We use Jdeveloper 11.1.2.0 in creating multiple type of applications. We are stuck with one issue in Pop-up behavior in Gantt chart and needed your help. Any help in this will be highly appreciated. It seems that this was the known issue in 11.1.1.4 but not sure if this is resolved in current release of 11.1.2.0.
    Jdev Version: 11.1.2.0
    Control Used: Panel Tabbed, Gantt Chart (Project), ADF Popups and Dialog
    Scenario: We are having Panel Tab. One tab is having Gantt chart whereas second tab is having read-only Table. Gantt chart has pop-up window (Along with Dialog), which opens up on hovering one of the column.
    Issue: Gantt Chart and Popup works fine but pop-up gives error (Region not valid) when we click on second Tab and come back to the Gantt chart tab. Screenshots are attached for your reference.
    PS: I can see know issue at this link but did not see this in current release known issues.
    http://www.oracle.com/technetwork/developer-tools/jdev/relnotes-14-jan-11-261400.html#dvt2
    Many Thanks.
    Regards,
    Sachin G

    OK, I did't realise you were using adf faces.
    Quoting the Oracle WebCenter Framework documentation:
    "17.5.2.3 Oracle ADF Faces Guidelines
    The Oracle ADF faces guidelines are as follows:
    * Oracle ADF Faces client side implementation is not supported. One weakness of JSR 168 and WSRP 1.0 is that they do not account for portlets using client-side programming techniques, such as Ajax or hidden frames, for partial page rendering. As a result, all Oracle ADF Faces facilities that rely on client-side programming techniques do not work. These facilities include the following:
    o Oracle ADF Faces partial page refresh (PPR) facility
    o The client-rendered aspect of Oracle ADF Faces rich client components
    o Oracle ADF popups, <af:popup>, which fail to work because of their reliance on the PPR facility
    o The Oracle ADF Faces SelectText, SelectDate, and SelectColor components, which use visual assist popups
    To avoid breaking existing applications, the popup is disabled when used in Oracle ADF Faces pages exposed as a portlet. Thus, functionally speaking, these components are equivalent to InputText."
    So guess that just won't work.

  • 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...

Maybe you are looking for