Chronology in the Oracle Apex5 Gantt Chart view
Hi all
I'm developing an application using Oracle Apex 5.
I have a created a page with graphic Flash-> Gantt chart.
He created as below
But I need to make as below
How to do this?
Su.GI wrote:
I'm developing an application using Oracle Apex 5.
I have a created a page with graphic Flash--> Gantt chart.
He created as below
But I need to make as below
How to do this?
In the component graphic Flash Gantt this requires a graphical change settings using the XML part that is customized according to the documentation AnyGantt 4.3. In the area of the Gantt chart, switch to Use Custom XML Yesand modify the XML custom, expanding the timeline
element of
......
to include a custom scale
element which eliminates the level of the day:
......
A better alternative would be to use the Gantt chart plugin region of the packed app P-way rather than the Flash option integrated Gantt chart. The plug-in supports simple customization/user control in the period of mounting using a page item control.
Tags: Database
Similar Questions
-
How to create the PivotTable or Gantt chart back bean withour BC or view
Hello
I need to create a graph of table and chart Gantt pivot without the use of business component and view.
Is there a documentation on this issue. because all the documents were first seen BC.
Kindly advice
Emile BITARHey, Emile,
Examples to create a pivot table and Gantt chart with local data are given in the tag ADF DVT guide.
The ADF DVT Tag guide/demo is shown here:
http://jdevadf.Oracle.com/dvtdemo-DVT-faces-demo-context-root/faces/index.JSPXYou can download the source code here:
http://download.Oracle.com/OTN/Java/JDeveloper/11g/extensions/DVT-faces-demo.zipHope this helps
Katia -
JDeveloper with MEV / possible FGAC? i.e. the oracle portal tables and views
I am trying to create some objects to view based on the tables and the views of portals oracle. However, I always get the following error message.
ORA-06510: PL/SQL: not supported by the user-defined exception
ORA-06512: at "PORTAL. WWCTX_SSO', line 1407
ORA-06510: PL/SQL: not supported by the user-defined exception
ORA-06512: at "PORTAL. WWCTX_SSO', line 1216
ORA-06502: PL/SQL: digital error or value
ORA-06512: at "PORTAL. WWCTX_SSO', line 1469
ORA-06512: at "PORTAL. WWCTX_API', line 152
It's because I did not put the context using plsql. That is to say
Portal.wwctx_api_private.set_Context (p_user_name = > 'PORTAL', p_update_flat = > true);
Is it possible to use the portals in jdevloper and defining the framework first. I think that the portal database uses vpd, fine-grained access control.
Concerning
OrlandoHello
using ADF BC, you can override the session prepared on the AM method to set the context.
public void prepareSession (_session Session)
{
super.prepareSession (_session);some PLSQL as
String appContext = "Begin ctxhrpckg.set_userinfo ('" + getApplicationUserName () + "');" END; « ;
java.sql.CallableStatement st = null;
Try
{
St = getDBTransaction ().createCallableStatement(appContext,0);
St.Execute ();
} catch (s java.sql.SQLException)
{
throw new oracle.jbo.JboException (s);
} Finally
{
Try
{
If (st! = null)
{
St.Close ();
}
} catch {} (java.sql.SQLException s2)
}
}Frank
-
Gantt chart is not correctly displayed for the task to the foreground
Hello
I tried to create a Gantt chart similar to [http://www.anychart.com/products/anygantt/gallery/sample_02.html]
except the connectors aren't needed. I could stall parts of the custom XML part, but the parent tasks always appear with the same style as the tasks of the child. I want to do the parent display periods so that they are different compared to the periods of child as in the example graph, where they are gray and thinner. How is that possible?
TiinaTiina salvation,
First of all, just to explain the current behavior, generated in APEX chronology in the diagrams of Gantt bars have a style by default called defaultStyle applied to them. This style controls the appearance of the different elements of the region of the timeline, as the current bar, progress bar color etc. The needs of default style to apply to the
tags in the table XML that is tags containing the data of your Gantt chart. To allow users to control the appearance of objects timeline via attributes on the page attributes of table, we update the Style by default with the selected page attributes of table values and then we reference this style in the tag, as follows: .. .or style = "defaultStyle" is the reference to the style. If you look in the XML file, you will see where the default Style has been set.
Tags are generated during execution and filled with the results of the query in the chart series game. If we apply a default style to these tags, then users must manually generate the tags themselves in order to apply a style to their data in Gantt chart. In AnyChart, no style has been applied to the example you have selected - http://www.anychart.com/products/anygantt/gallery/sample_02.html - only default AnyChart parameters are used here. Due to the existence of style = "defaultStyle" in your Gantt chart data, you will need to make the necessary changes in the tags of your XML file. These changes are possible via the options on the page attributes of table or by customizing the XML. I know that's not exactly the same as the example of AnyChart, but you can get something similar just update the graphic attribute settings, as in this example: http://apex.oracle.com/pls/apex/f?p=36648:50. I hope this helps.
Kind regards
Hilary -
I get the following error when I switch to the Gantt Chart view.
ArgumentError: Error #2004: one of the parameters is not valid.
at flash.display::Graphics/drawRect()
at com.ibm.ilog.elixir.gantt::TaskBarSkin/updateDisplayList() [/ data/flex/tools/trunk/enterpr g/elixir/gantt/TaskBarSkin.as:97 ise/build/product_build/target/sources/business/library/gantt/gantt/src/flex/com/ibm/ILO]
to mx.skins::ProgrammaticSkin/validateDisplayList() [E:\dev\4.x\frameworks\projects\framework \src\mx\skins\ProgrammaticSkin.as:503]
at mx.managers::LayoutManager/validateDisplayList() [E:\dev\4.x\frameworks\projects\framework \src\mx\managers\LayoutManager.as:663]
at mx.managers::LayoutManager/doPhasedInstantiation() [E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:718]
at mx.managers::LayoutManager/doPhasedInstantiationCallback() [E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]
This error occurs only when the Gantt chart task has no children. Am that I missign something? Do you have a solution for this?
Problem is solved : it is because of the date of the parent task which becomes invalid when there is no task associated with child. The start date and end date of the parent was not valid in the Gantt Chart view. Corrected the parent task start date and end date.
-
Hello
Where to find examples of Gantt graph?
See you soon,.
ShanHi Shan,
When you go through the steps in the wizard 'create Gantt Chart', simply click the expandable list "Query example of project Gantt chart" when you are in step 'Source' to get examples, how the query should look like.
Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins -
APEX 4.0 - construction of Gantt chart error?
Hello world
When I build a Gantt chart in apex.oracle.com, the start and end dates show no actual date, just text "dd.mm.rr".
My query follows:
Select
NULL as link,
Description like taskname,
TASK_ID as task_id,
NULL as parent_id,
start_date as actual_start,
End_date as actual_end,
progress as progress
of PENDING_TASKS;
Any ideas?
OscarHi Oscar,.
For Gantt diagrams, by default the Format of Date of Application will use to bring in the form the dates on your Gantt chart. If a date of application-level format is not specified and none is a Date of the Gantt chart format, via the attributes list page, then the NLS_DATE_FORMAT will serve to shape the dates on your Gantt chart. If you want to set a date through the table attributes page format, change your Gantt chart and update the item "Date" in the region of Gantt chart settings. For example, on this example on apex.oracle.com - http://apex.oracle.com/pls/apex/f?p=36648:4 - I put the 'Date Format' * % dd.%MMM.%yy*, which uses the AnyChart format specifiers required, indicated such in the AnyChart documentation, specifically in the list of parameters of formatting: http://www.anychart.com/products/anygantt/docs/users-guide/locale.html?fromtree#list.
Version 4.0 - post, I identify a problem with the context menu associated with the element 'Format of Date' on page table attributes 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 in the text 'Format of Date' element, ensuring that you use the format specifiers AnyChart described in the documentation that I have included a link for above example * % dd.%MMM.%yy*.
I hope this helps.
Kind regards
Hilary -
View gantt chart, based on the value of IR - apex 4.2
Hello
There is a diagram of Gantt chart below that an IR is there. (see data).
If the user filter IR, we must show only that the entries that are displayed in IR, in the Gantt chart.
How can achieve us?
Kind regards
Sanjaya
The problem is solved with the help of Denes Kubicek blog.
http://deneskubicek.blogspot.in/2013/05/getting-interactive-report-query.html
Thank you
Sanjaya
-
Hi all
We want to hide a feature stopped working screen in Oracle EBS R12.1.3 is Gantt chart displays by application. This is a png image file, and thousands of files are generated daily.
The image is accessible from screen-> view dependency framework work orders-> show image file-Gantt chart
Thank you.
YM
Fact through customization of forms.
-
Apex 4.1 - Gantt chart resource with dynamic colors based on the background
Hello
I request of the customer to create a resource of Gantt chart that displays the different color bars based on the employee assigned to each task.
I found two excellent examples of Hilary on the use of different colors; Unfortunately, they use static colors:
https://Apex.Oracle.com/pls/Apex/f?p=36648:114
https://Apex.Oracle.com/pls/Apex/f?p=36648:60
I will present an example for the http://apex.oracle.com later in the day.
Meanwhile, does anyone have a suggestion on how to do this?
Thank you
Erick
Erick,
What makes you decide to use a chart of the resource instead of a task of projects, so what you are viewing is just a chart of the project? No resource is indicated on the data grid, but rather task names. Not not it doesn't, but it's confusing that shouldn't be there. It complicates the xml code required when it should not.
Aside from that, you can do what you want, but you need to change the custom XML and generate xml data yourself.
See page 2 in your application: https://apex.oracle.com/pls/apex/f?p=16559:2
-generate xml processes
-region with a few hidden items
-custom xml to include items hidden in the correct places
-remove the series just to indicate that no data is retrieved in a way
In short:
-generate xml data to generate a style for every single transferee. I generate a name for each "style" | assignee_id, which makes it easy to reference in the task. I added a function to generate a custom hex color too, just for the joy?
-generating resources
-generate periods and assign the style accordign to the assignee
-
Hello
I created a Gantt chart and discovered a problem. Jobs don't always appear in chronological order.
I tried to order the query by date, but then the tasks don't always show next (or in the same order) on the bars to the right of the plan.
Is anyway I can order the tasks without losing the alignment with the diagram of the individual task bar?
Thanks in advance.
Hello
You have not specified what type of Gantt chart, you use: it is a project gantt chart or resource? In addition, you are dealing with hierarchical data?
Looks like you might be dealing with hierarchical data and the order in which the data are generated is cause your problem and culminating in the timeline entries being out of alignment with the datagrid control. So, without seeing the application in use, my suggestion would be to update the query to generate a hierarchical representation of your data via an START WITH... CONNECT BY question, using a syntax similar to the following:
Select the
link,
TaskName,
ID,
parent_id,
start_date,
End_date,
status
tasks _table
Start by parent_id is null
connect by parent_id = prior id
siblings arrested by start_dateIf the query is retrieving the list of tasks and then hierarchically by listing the based on parent-child association which was held in the PARENT_ID of the table column. The end result means that each parent task is listed with their tasks associated with children and sorted by START_DATE.
If this isn't answering your query, please update this thread with more information about your test scenario. Even better - if you could create a unit test on apex.oracle.com and post a link to the unit test and the syntax of the query you are using, it would be very useful.
Kind regards
Hilary
-
I use Apex on top of Oracle 11.2.0.3 4.2.1.00.08
I want to set up a gantt chart resource with minutes on the axis instead of from the default.
I tried to introduce a key xml < anygantt > < settings > < sequence > < scale > < interval > < type interval = interval 'Hour' (or 'Minute') = 1 > without success.
What happens then is an unending "Loading Data"
The number of lines configured should be sufficient. When the XML to defalult reset all data are displayed.
When checking a little more away all graphics date information truncated to the part of the day of the date indication.
So, how can I configure the Gantt chart in order to have the minutes below the limit.
Worms and from the db column is of type DATE MM and SS.
BRHi BR,
Looking at the XML table you have included in your message, it may or may not be a typo, but the figure is expected to be wrapped in quotes i.e.
Without the quotes around the number 1, you will certainly get the "Loading Data" message. If that ever happens, the best thing to do is to run your page in debug mode and click on the "View XML" link which will appear under your graph. Cllicking on the link displays the XML file associated with your chart. However, it will show also any error was captured during the generation of the XML table. This could be useful, especially when you work with custom XML where it is very easy to misplace tags or omit the quotation marks.
Regarding the time for your Gantt chart information, in order to generate Gantt charts when the accurate time information are used, then the graphical query must make reference to
TIMESTAMP columns. If you take a look at the example in my sample application (see http://apex.oracle.com/pls/apex/f?p=36648:83) it might be useful.)Let me know how you go.
Kind regards
Hilary -
Custom color in display Gantt chart based on the State - Apex 4.2
Hello
I need to specify the custom color display Gantt chart based on the State.
Say: Open - Red
Progress-yellow
Cancelled - blue
Closed - Green
given that the status column is not part of Gantt chart question, how?
Option color in table attributes is not helping this requirement.
Kind regards
Sanjaya
Hello
Finally, the problem is resolved with the help of Hilary Farrell-Oraclefantastic example and help anychart pages. This is useful for this URL.
https://Apex.Oracle.com/pls/Apex/f?p=36648:30:102588100613368:
http://6.anychart.com/products/anygantt/docs/users-guide/index.HTML?project-Gantt-chart.html
http://6.anychart.com/products/anygantt/docs/users-guide/index.html?defaults.html
-Sanjaya
-
The APEX 4.0 project Gantt chart: almost a bug
Hi the APEX team:
My application uses diagrams of Gantt project widely, so I think it's a missing parameter: width of datagrid
It seems that this Gantt chart sets a fixed width of datagrid section, so that whatever the datagrid content always gets the same width.
If you are unable to control this setting, the datagrid is very limited, especially if you try to reduce the graph. In my case, I always use Gantt diagrams without datagrids.
A little suggestion: default alignment for the column name in the datagrid is Center. I think a better default alignment should be left.
Best regards
OscarHi Oscar,.
I get only to see your message now, otherwise I would have answered early on.
Q: + it seems that this Gantt chart sets a fixed width of datagrid section, so that whatever the datagrid content always gets the same width. +
Rep. : Yes, you are right. AnyChart defines a width by default for the datagrid section, which is 325 pixels, described in their books online, in the section titled "Width parameter" in the chapter General data grid settings: http://www.anychart.com/products/anygantt/docs/users-guide/datagrid.html?fromtree. It's something that you can control by customizing thetag in your XML file: In a future release, we can look at exposing this option via the page attributes of table. In the meantime, the user has the possibility to adjust the size of the data grid by moving the gray line between datagrid and the sections of the chronology of the Gantt chart.
Q: + a little suggestion: default alignment for the column name in the datagrid is Center. I think a better default alignment should be left. +
Years: is actually the default management AnyChart of the path, but you can certainly substitute that by specifying your own alignments in the custom XML part if you want to. We also see this as an improvement for the Gantt chart settings on the page attributes of table for a future version.Kind regards
Hilary -
I have an Apex 5 with universal theme help
I want to create a Gantt chart, but I get a syntax error, even though I used the wizard to generate the code
Select
null link,
NAME task_name,
Task_id ID,
parent_id null,
Start_date actual_start,
End_date actual_end,
Progress of PROGRESS,
planned_start null,
planned_end null
of 'GUSCRIGHTON '. "" ANG_PROJECT_STAGES ".
Anyone know what's wrong with the code?
It works in sql Studio
Gus
Gus C wrote:
I have an Apex 5 with universal theme help
I want to create a Gantt chart, but I get a syntax error, even though I used the wizard to generate the code
Select
null link,
NAME task_name,
Task_id ID,
parent_id null,
Start_date actual_start,
End_date actual_end,
Progress of PROGRESS,
planned_start null,
planned_end null
of 'GUSCRIGHTON '. "" ANG_PROJECT_STAGES ".
Anyone know what's wrong with the code?
Probably nothing. I get the same error with a similar request, but after selecting the option Save query without validation when you apply the changes, the graphic is displayed correctly. Potentially, a bug in the validation of the application.
I'd actually using the region of Gantt plugin found in the application of P-Track packed instead, which is a component of HTML5 more modern which is a better choice for use in the universal theme.
Maybe you are looking for
-
Satellite U940 - after the update of Win8.1 FN key stop working
I have ultrabook Toshiba U940-b484, after I updated my system windows 8.1 all FN keys does not work and after more try only up/down switch soung and brightness keys is just the word, and keyboard light switch is not working too, all solutions? Concer
-
How to check the compatibility of graphics cards from my computer
The name of my computer model is HP Pavilion Elite HPE motherborad: bk170aa-aba hpe-210y Processor: AMD Athlon (TM) II X 4 945 processor, 3000 Mhz, 4 logical processor core Graphics card: ATI RAdeon HD 5450 I bought this desktop computer for 5 years
-
Built BT applications can run under Windows XPe?
Built BT applications can run on Windows XP Embedded? Second, can we install and use LabVIEW in XPe? Thanks in advance!
-
My laptop is upward lately since January 3, 2015 and a startup displays message - Windows Script Host cannot find script 'C:\Users\Shootea\AppData\Local\Microsoft\CDBurning\desktop.ini' file - I google a couple of information how do I get rid of it.
-
HOWTO: Translation Live in C++ similar to re-translate in QML
WARNING: To come long post! If you've built (or building) your apps BlackBerry 10 Aboriginal stunts with internationalization in mind, then you have probably dotted with QML qsTr() calls and macros tr() C++ code. When your application starts the text