Gantt Charts with APEX

Hello
Has anybody managed to integrate Gantt Charts with APEX and got them working. I'm required to provide some similar reports.
I understand Gantt charts are available in AnyCharts 5 but I need the XML to convert or at least a How To Do document.
Any any other ideas would be appreciated.
Cheers
Ade

Hi Ade,
We have built an Anychart Integration Kit for APEX, if you take a look at -
http://anychart.apex-evangelists.com
and specifically -
http://anychart.apex-evangelists.com/pls/apex/f?p=454:14:0:
You'll see that anything is possible ;)
We've concentrated on the core Anychart Functionality in the Integration Kit and will be releasing more powerful versions shortly.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

Similar Messages

  • Scheduling and gantt charts with Apex?

    Hi,
    Has anyone created Gantt charts using Apex?
    Also, has anyone used Apex to create schedules?
    From what I can tell, Javascript would be the language to use to add such code to an Apex app, correct?
    Regards,
    Daveio

    Leo,
    Thank you, I appreciate the help!
    An example of what I would like to do with scheduling:
    - Jobs will be entered into the application with priorities, durations, and required resources
    - The application will determine when the jobs can be started based on priority and resource availability
    - If a priority is changed the job start/finish dates should change accordingly
    This is the information I would like to have displayed on a Gantt chart. I have a text explaining several scheduling algorithms that will help make this possible but I will need to learn how to write the code into Apex.
    Dave

  • Posible bug  building gantt chart in apex 4

    Hi fellows,
    When building "Project gantt" chart in apex 4 enter the following query:
    select 'null' ,
    'Proyecto X' ,
    1 ,
    null,
    sysdate ,
    sysdate+10 ,
    0
    from dual
    I picked up the parameters from the "Chart query example" and the following error displays:
    *1 error has occurred*
    ** Invalid Gantt chart query: Wrong here:12*
    Use the following syntax:
    SELECT LINK, ID, TASK_NAME, START_DATE, END_DATE, STATUS FROM ...
    LINK     Action Link
    ID     Task ID
    TASK_NAME     Text that displays along a chart task.
    START_DATE     Date column that specifies the actual start date of the task.
    END_DATE     Date column that specifies the actual end date of the task.
    STATUS     Numeric column that specifies the percentage of progress made for the task.
    or
    SELECT LINK, ID, TASK_NAME, START_DATE, END_DATE, STATUS, PLANNED_START_DATE,
    PLANNED_END_DATE FROM ...
    LINK     Action Link
    ID     Task ID
    TASK_NAME     Text that displays along a chart task.
    START_DATE     Date column that specifies the actual start date of the task.
    END_DATE     Date column that specifies the actual end date of the task.
    STATUS     Numeric column that specifies the percentage of progress made for the task.
    PLANNED_START_DATE     Date column that specifies the planned start date of the task.
    PLANNED_END_DATE     Date column that specifies the planned end date of the task
    As you can see the parameters are diferent ¿? !, I have tried both (lots of variations) but nothing appears to work.
    Is this a bug or am I wrong?.
    Can u post a simple query like mine that works please?
    Thx 4 your help.

    Hi Marco,
    Just to clarify, tryapexnow.com is running Oracle APEX 4.0 EA3, and http://apex.oracle.com is running Oracle APEX 4.0 Pre-production.
    You are correct, the syntax outlined in the error message is incorrect, and I've logged bug *9799373* to track this. As a workaround, you can view sample syntax for Gantt charts on the 'Query' page of the Create wizard, in the 'Chart Query Example for Gantt' Show/Hide region below the text area for entering your chart query, and also in the Oracle APEX 4.0 User's Guide that will be available with our new release. Just in case other users hit the same issue and are unsure of the expected format:
    Chart Query Examples for Project Gantt Charts:
    SELECT NULL LINK,
    TASK_NAME NAME,
    TASK_ID ID,
    NULL PARENT_ID,
    START_DATE ACTUAL_START,
    END_DATE ACTUAL_END,
    STATUS_NUMBER PROGRESS
    FROM TASKS
    SELECT 'f?p=4000:2:'||:APP_SESSION||':::P2_ID:'||ID LINK
    TASK_NAME NAME,
    TASK_ID ID,
    PARENT_TASK_ID PARENT_ID,
    START_DATE ACTUAL_START,
    END_DATE ACTUAL_END,
    STATUS_NUMBER PROGRESS
    FROM TASKS
    SELECT NULL LINK,
    TASK_NAME NAME,
    TASK_ID ID,
    NULL PARENT_ID,
    START_DATE ACTUAL_START,
    END_DATE ACTUAL_END,
    STATUS_NUMBER PROGRESS,
    START_DATE-3 PLANNED_START,
    END_DATE+1 PLANNED_END
    FROM TASKS
    Chart Query Examples for Resource Gantt Charts:
    SELECT NULL LINK,
    RESOURCE_ID ID,
    NULL NAME,
    NULL PARENT_ID,
    START_DATE ACTUAL_START,
    END_DATE ACTUAL_END
    FROM TASKS
    SELECT 'f?p=4000:2:'||:APP_SESSION||':::P2_ID:'||ID LINK
    RESOURCE_ID ID,
    RESOURCE_NAME NAME,
    PARENT_ID PARENT_ID,
    START_DATE ACTUAL_START,
    END_DATE ACTUAL_END
    FROM TASKS
    Thanks for reporting this issue, and I'm happy you were able to successfully generate your chart.
    Regards,
    Hilary

  • How to build a gantt chart with BI Publisher

    Hi everybody, I need to create a gantt chart with BI Publisher. I had a look to the document "Getting Gantty" from the blog:
    http://blogs.oracle.com/xmlpublisher/2008/01/getting_gantty.html
    but I don't understand in which way:
    1. build the data template in order to replicate the XML code in the article
    2. build and link the yellow bar which dynamically increases its length according to the meeting duration
    Anybody already tried to implement something similar ? I didn't still found a real example about how to do it......
    I need a help, please
    Thanks in Advance
    Alex

    Yes that is the only option which we can stop a running report in BI Publisher
    I suspect you'll need to ask your DBA to kill the session.
    However, if you have DBA privileges yourself, you can do this by a few methods, some of which are described here:
    http://www.oracle-base.com/articles/misc/KillingOracleSessions.php
    Mark if helps,
    Thanks,

  • Gantt chart with duration

    Hi Experts
    As a part of bidding, client need to produce Gantt chart to the customer.
    However, since this is presale process, the exact dates are not indicated but the duration of project to be specified. It means the schedule to show the duration from zero date.
    Is it possible to take print of Gantt chart with out dates but duration of individual activity or WBS?
    Warm regards
    ramSiva

    Hi Ahmed
    Thank you for your reply.
    The time scales in Gantt chart specifically shows the year, month and weeks from the start date of project definition or basic start of WBS.
    Since it is not a decided project, the Gantt chart need to show 0, 1st week, 2nd week, 3rd week etc.
    The actual schedule from PD start date can be produced on actual initiation of project.
    It means, i am looking for having Gantt chart for duration and not for specific start and finish dates.
    warm regards
    ramSiva

  • How to get multiple value on html chart with apex

    Hi All,
    I'm looking for a way to compare 2 value on a html chart with apex (ex. Budget with expense).
    Some one know how I could make a chart with 2 value ( a kind of histogram with the bar Budget and expenses side to side with only one title)
    Thanks all !
    Edited by: 844999 on 2011-04-05 07:59

    sims wrote:
    Hi Anil,
    Its a standard page & i want it on click of apply button but my question is when i click apply button it navigates to other page..is it possible in such scenario to extend the controller.
    Thnx for ur suggestion
    SimsThat is not an issue, you can extend the controller of that page and get the value of sequence and set it to the VO attribute.
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • Resource Gantt Chart with Multiple Series (Apex 4.1.1)

    Hi,
    I am building a resource gantt and I want to show different types of entry in different colours.
    My series query is:
    select null,
    time_record_id,
    username,
    null,
    to_timestamp(to_char(event_date + (start_time/24),'YYYY-MM-DD HH24:MI'),'YYYY-MM-DD HH24:MI') start_date,
    to_timestamp(to_char(event_date + (end_time /24),'YYYY-MM-DD HH24:MI'),'YYYY-MM-DD HH24:MI') end_date
    from
    oly_time_record
    where
    work_code = 'OFFICE'
    order by 5, 3;which works well to show me the times when a user is going to be in the OFFICE.
    I now want to add additional bars to the chart that shows me the times that a user is going to be 'WORKFROMHOME'.
    The 'OFFICE' time should show Green bars and the 'WORKFROMHOME' should show Red Bars.
    This is quite easy on normal charts, where you can add extra series but the Resource Gantt does not seem to allow more than one series.
    Does anyone have any ideas about how I can get what I need?
    Thanks,
    Martin

    Hi Martin,
    there are a lot of examples of gantt charts in this forum.
    Take a look here:
    http://apex.oracle.com/pls/apex/f?p=36648:60
    Markus

  • Gantt chart with null dates

    Hi,
    Kylie discovered here that you couldn't have null dates in the project gantt query
    APEX 4.0.2 Project Gantt Chart - Error Code: 2002 Message: Empty input
    As Valentina suggested, I found the actual dates are mandatory, while the chart tolerates missing planned dates - which is a complete reversal of what actual project data would have.
    baseline project gantt with parent-child relationship
    What I found though is if some planned dates are missing, the generated XML seems to default with data from previous rows.
    As detailed in this screenshot, my red lines indicate missing from/to dates (actual data also shown underneath chart)
    https://docs.google.com/file/d/0B_eVXQ_oe4tsRUFXUzA0NmNMUE0/edit?usp=sharing
    NAME    TASK_ID   ACTUAL_START  ACTUAL_END  PROGRESS  DUE_START     DUE_END
    line 1  1810794   07/MAR/2013   11/MAR/2013   100     26/MAR/2013   27/MAR/2013 00:00:00
    line 2  1810780   12/MAR/2013   16/MAR/2013   100     23/MAR/2013   27/MAR/2013 00:00:00
    line 3  1810779   17/MAR/2013   20/MAR/2013          
    line 4  1810773   21/MAR/2013   21/MAR/2013   50      24/MAR/2013  
    line 5  1810774   22/MAR/2013   10/APR/2013   93      16/MAR/2013  
    line 6  1810791   11/APR/2013   20/APR/2013          
    line 7  1810793   21/APR/2013   22/APR/2013   45      21/MAR/2013   The accompanying XML backs up the story, yet my query doesn't feed this data.
    <task id="1810794" parent="" name="line 1" actual_start="2013.03.07 00.00.00" actual_end="2013.03.11 00.00.00" baseline_start="2013.03.26 00.00.00" baseline_end="2013.03.27 00.00.00" progress="100" style="defaultStyle"/>
    <task id="1810780" parent="" name="line 2" actual_start="2013.03.12 00.00.00" actual_end="2013.03.16 00.00.00" baseline_start="2013.03.23 00.00.00" baseline_end="2013.03.27 00.00.00" progress="100" style="defaultStyle"/>
    <task id="1810779" parent="" name="line 3" actual_start="2013.03.17 00.00.00" actual_end="2013.03.20 00.00.00" baseline_start="2013.03.23 00.00.00" baseline_end="2013.03.27 00.00.00" style="defaultStyle"/>
    <task id="1810773" parent="" name="line 4" actual_start="2013.03.21 00.00.00" actual_end="2013.03.21 00.00.00" baseline_start="2013.03.24 00.00.00" baseline_end="2013.03.27 00.00.00" progress="50" style="defaultStyle"/>
    <task id="1810774" parent="" name="line 5" actual_start="2013.03.22 00.00.00" actual_end="2013.04.10 00.00.00" baseline_start="2013.03.16 00.00.00" baseline_end="2013.03.27 00.00.00" progress="93" style="defaultStyle"/>
    <task id="1810791" parent="" name="line 6" actual_start="2013.04.11 00.00.00" actual_end="2013.04.20 00.00.00" baseline_start="2013.03.16 00.00.00" baseline_end="2013.03.27 00.00.00" style="defaultStyle"/>
    <task id="1810793" parent="" name="line 7" actual_start="2013.04.21 00.00.00" actual_end="2013.04.22 00.00.00" baseline_start="2013.03.21 00.00.00" baseline_end="2013.03.27 00.00.00" progress="45" style="defaultStyle"/>Is this expected behaviour?
    Is this a bug?
    Is there a workaround - can I supply my own XML to hopefully override what is being generated?
    Scott

    Hi Ahmed
    Thank you for your reply.
    The time scales in Gantt chart specifically shows the year, month and weeks from the start date of project definition or basic start of WBS.
    Since it is not a decided project, the Gantt chart need to show 0, 1st week, 2nd week, 3rd week etc.
    The actual schedule from PD start date can be produced on actual initiation of project.
    It means, i am looking for having Gantt chart for duration and not for specific start and finish dates.
    warm regards
    ramSiva

  • Steps to create Resource gantt chart with hourly ranges

    Does anyone have an example of how to customize the default built APEX/Anychart resource gantt charts to handle a 12 hour range showing resources? I have tried going through a sample provided by anychart tech support, but the xml file seems to have different set of entries.
    What I have is a set of rows for resources in a shop over a 12 hr shift that I need to show. I have a standard resource gannt working, but I need to customize some of the xml settings to see the date/time ranges..
    Any help would be a blessing!!
    Thank you,
    Tony Miller
    Webster, TX

    I could post it up on Oracle's hosted site, but I am NOT seeing much help where ever it is located.. I also believe in helping up here because I can and It helps me....
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

  • AnyChart Radar chart with APEX

    Hi all,
    I need to create Apex application that requires page to display radar chart, combined chart (bar & line). I understand that those charts are not come with APEX 4.1.0 (my APEX version). I look at AnyChart product since I see people talked in Oracle Forums. I would like to know if someone who has used AnyChart product creates radar / polar charts in APEX can give me any suggestion. My current environment is
    Apex 4.1.0, oracle 11g and a browser is IE 8.
    The company that I work for doesn’t have any plan to upgrade IE version. So I have limited tools to work with. On AnyChart web site, it shows radar chart in Flash, HTML5, and XML code. I can see the chart in Flash and XML code ok. I don’t know how radar chart will work in APEX and IE 8. Any helped explanation would be appreciated.

    Hi jessi,
    We can combine both line and bar chart in apex.
    Try by doing the following,
    1.Create the chart region with the chart type as 3D Column.
    2.Then parse the query that you want to show in chart(it will select the series type as bar by default).
    eg. select null link,ename, sal from emp; 3.Create the second series by editing the chart attributes.
    4.select the series type as line. Then parse the query that you want to combine with the above bar chart.
    eg. select null link,ename, avg(sal) over() avg_sal from emp; By this way we can combine the charts by adding the series,Check whether this is your requirement.
    Thanks,
    SreeNithi.

  • Create Charts With APEX

    Hello, may someone help me with charts on apex?
    I need to create a Radar Chart, this kind of chart isn't avaible on APEX then, I should buid it,
    I have found some models of this chart, but I'm not getting sucefull when I try to use the data from my database.
    I'm using APEX 4.1.
    Thak's everybody.

    LeoVic - Hello,
    Can you make an example on apex.oracle.com to show us what you have so far?
    Here's an example of mine -- but with a line chart. http://apex.oracle.com/pls/apex/f?p=43250:3 Login: Dever PW: Ima9Dever
    And then tell us what you would want to be different.
    Best wishes,
    Howard

  • Click-enable Gantt chart with Business Graphic

    Hi all,
    I know that it's possible to create a gantt char with Business Graphic. But can you tell me if it's possible to add events to the elements of the graphic?
    Or maybe there are other types of object that allow this.
    In bsp there is the phtmlb:gantchart, is there a java package phtmlb?
    Thanks and Best Regards,
    Paulo Ruivo

    Hi Paulo,
    U have onAction event in view designer.Also refer this
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ed/258841a79f1609e10000000a155106/frameset.htm">Business Graphics Events</a>
    Hope it helps,
    Regards,
    Nagarajan.

  • APEX 4.0 - error building Gantt chart?

    Hi everybody
    When I build a Gantt chart in apex.oracle.com, start & end dates show no real dates, just the text 'dd.mm.rr'.
    My query follows:
    select
    null as link,
    description as task_name,
    task_id as task_id,
    null as parent_id,
    start_date as actual_start,
    end_date as actual_end,
    progress as progress
    from PENDING_TASKS;
    Any ideas?
    Oscar

    Hi Oscar,
    For Gantt charts, by default the Application Date Format will be used to format dates on your Gantt chart. If an application-level date format isn't specified and neither is a Gantt Date format, via the Chart Attributes page, then the NLS_DATE_FORMAT will be used to format dates on your Gantt chart. If you wish to define a date format via the Chart Attributes page, edit your Gantt chart, and update the "Date Format" item in the Gantt Settings region. For example, on this example on apex.oracle.com - http://apex.oracle.com/pls/apex/f?p=36648:4 - I've set the "Date Format" to *%dd.%MMM.%yy*, which uses the required AnyChart format specifiers, as outlined in AnyChart documentation, specifically in the Formatting Parameters List: http://www.anychart.com/products/anygantt/docs/users-guide/locale.html?fromtree#list.
    Post-4.0 release, I did identify an issue with the popup associated with the "Date Format" item on the Chart Attributes page, and bug 9861439 can be used to track this issue. A fix for this issue will be available in our next release, but in the meantime you can enter dates into the "Date Format" text item, ensuring you use the AnyChart format specifiers outlined in the documentation I've included a link for above e.g. *%dd.%MMM.%yy*.
    I hope this helps.
    Regards,
    Hilary

  • Resource Management with Apex

    I have seen examples of using dbms_resource_manager with Apex where Apex_public_user has its consumer group switched according to some rule. Trouble is many hundreds of apex users connect using this single username.
    What I wish to know is it possible to perform this at a finer level of granularity, ie at individual Apex user level.
    If so I control the resources available to Apex users individualy.
    Is this even a sensible thing to do? Criticisms are welcome.

    Hi Tony,
    I would be interesting to see any example.
    I posted my question before: Creating interactive gantt chart in apex 4
    but no one give any answer yet.

  • Setting Custom XML = Yes in resource gantt chart removes start & end dates

    I'm having a strange issue with a Resource Gantt chart in Apex 4.0.2.
    I built the chart using the Wizard and changed nothing from the defaults. Everything looks/acts fine on the chart when Use Custom XML = No. But I wanted to change a couple things like cell alignment and width, so I set this to Yes and modified the column attributes in the XML code. After doing so, when running the report, the values for Start Date and End Date are not showing. This is happening in both the datagrid and the tooltips, but the timeline is still showing the right information (ie a bar from start to end), so I know it still knows what the correct start and end dates are.
    Thinking I accidentally messed something up, I deleted the chart and recreated it (again, from the wizard). This time, I went back and only set Use Custom XML = Yes but did not change anything within the XML code itself. To my surprise, the dates were still missing. If I set it back to No then they reappear.
    Has anyone seen this before and/or know a way to fix it?
    Thanks,
    ~ John

    Hej John,
    APEX itself is using a field substitution "&DATE_FORMAT." to insert the date format into the XML file. This field substituion is used in may location in the default XML. APEX standard action is to substitute it with the value specified in the Gantt Setting "Date Format". This substitution takes place many places in the default XML file.
    Enabling custum XLM also means disabling APEX XML handling, the substitution does not take place, the "&DATE_FORMAT." contains in this case a null value.
    The default XML file, which can be viewed in apex developer mode, looks like:
    Start Date: {%ActualStart}{dateTimeFormat:&DATE_FORMAT.}
    The runtime XML, which can be viewed in debug mode, contains something like:
    Start Date: {2011.07.21 00:00:00}{dateTimeFormat:}
    ...a null value is not a valid AnaGantt date format.
    Two solutions:
    a) insert a correct AnyGannt date formatter in the custom XML like
    Start Date: {%ActualStart}{dateTimeFormat%YYYY.%MM.%dd %HH:%mm:%SS}
    or
    b) create a field DATE_FORMAT on page containg the chart and intialize it with the AnyGantt date formatter like %YYYY.%MM.%dd %HH:%mm:%SS".
    When running the page the substitution will take place usually.
    Regards,
    Benny

Maybe you are looking for

  • Data federator 32/64 bit with SAP?

    We have a problem in Data federator that after the installation in "data source" there should be an SAP value that isn't there (this shold be active after SP). We have installed the multi platform edition in both 32 and 64 bit version, and also SP2 I

  • Mac Mini - DVI to ADC Adapter - Cinema HD 23" ADC anybody?

    I would like to buy a Mac Mini, but I'm not sure if it will handle an old Cinema HD 23" ADC through a DVI to ADC adapter. Anybody has this configuration? Which is the maximum resolution possible?

  • Back button not working in iTunes 11

    The "Back" button in iTunes 11.1 doesn't work correctly. It doesn't go back to previous screen, but farther back, so that with each "Back" you have to navigate again to where you were. For example, if you are viewing "See All Songs" of a particular s

  • MM vs FI for expenses

    Hi, Requirement is to push non po invoices and invoices related to expenses into SAP . we are looking to see whats the best approach in terms of pushing it to MM vs FI. From SAP document it seems like LIV(MM) can be used for expenses as well. but wou

  • Am I able to transfer a podcast (m4b) to my mp3player?

    I have purchased a podcast in m4b format, will it play on my sony mp3 player?