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

Similar Messages

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

  • 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

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

  • 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

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

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

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

  • Creating black and white charts with patterns in Pages?

    Hi.  Does anyone know how to create black and white patterned charts in Pages (or other iWork application)?  When making Charts in Pages (i have the most recent version), you can make all sorts of colored charts (bar charts, histograms, pie charts, etc.), but in preparing doumnets for publication i need all my charts in black & white.  I can make histograms and bar charts using different shades of grey no problem, but i'd like to create histograms using black and white "patterns" like dots, horizontal lines, stripes, etc.  Does anyone have any idea how to do this, or know where existing patterns can be downloaded for import into Pages?
    Many thanks.

    Don't export it as a .jpeg which is unsuitable for B&W images, blurring them as rgb files (not B&W).
    Better is .tiff (compressed B&W tiff are tiny) or 1 bit .gif.
    It is also possible that .pdf vector files might work but I haven't experimented with those.
    http://www.google.com.au/search?q=black+%26+white+vector+patterns&hl=en&client=s afari&rls=en&prmd=imvns&tbm=isch&tbo=u&source=univ&sa=X&ei=T0yYUNjqOKaTiAeqrYGwA Q&ved=0CCkQsAQ&biw=1138&bih=1272
    http://www.graphicswall.com/black-and-white-vector-patterns
    http://all-free-download.com/free-vector/black-and-white-vector-pattern.html
    http://www.freevector.com/category/patterns/
    http://vectorpatterns.co.uk/patterns-2/a-transparent-black-and-white-arrow-patte rn-set/
    http://pattern8.com/
    This is very retro lo-tech with unattractive results, which is why I guess Apple hasn't bothered with them.
    Peter

  • 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

  • SVG Multi Graph/Chart with line and bar

    I have a request for a "Multi-Graph-Chart"
    showing both - line chart and
    - bar-chart with respective data.
    Can you provide for the sourcecode, which is behind the SVG chart wizard enabling us to develop an own/individual SVG chart ?
    pls kindly advise.
    Bernhard
    nb. I mailed u this request already - but thought this might be of interest to others as well.

    Marc
    I would support this addition to functionality. I currently have a client who has a requirement for complex charting in HTMLDB, and I am looking at the SVG packages in HTMLDB, ie: WWV_FLOW_SVG, but as you say they are not independent APIs and rely heaviliy on the application's metadata. This is a shame as I could quite easily handle a nice PL/SQL API that would let me create custom SVG, instead of generating the SVG manually and embedding that in the page.
    Cheers
    Ben

Maybe you are looking for

  • How to Go for FICO

    Hi, I am an MBA Finance, with 6 years of experience. Want to do SAP FICO Certification. How can I start? I am working on SAP for past 2 years and my current company is a customer to SAP. Kindly Suggest. Rachit

  • Stored procedure call returns null result set when using temp table in sp!

    Here's a really odd problem... SQL Server stored procedure called sp_Test takes 1 input INT. Here is the code I call it with cStmt = connection.prepareCall("{call sp_Test(?)}"); cStmt.setInt(1, 44); cStmt.execute(); rs = cStmt.getResultSet();When the

  • Getting error while installing BI publisher desktop 64 bit

    Hi , I'm getting the following error while installing BI publisher desktop 64 bit. "Please use BI Publisher Desktop installer 32 bit" My Machine OS is : Windows 7 , 64 bit. If I go with BI publisher desktop 32 bit, I'm not getting the "BI Publisher"

  • Possible feature: Automatic data set linking...

    A useful feature to add to Spry: Data set linking within the definition of a dataset. Although this can be achieved using filtering or dataset regeneration programming, it would simplify the coding process tremendously if done at the dataset definiti

  • Can't view new files just saved on a shared drive/server

    I have just created a file in Illustrator and saved it in a folder on a network drive.  I then try to view that file in finder and I cannot see it.  I know it is there because I can view the contents of this network drive from a PC and it's there.  I