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

Tags: Database

Similar Questions

  • How to plan the report filtered by dynamic date based on the date, the Agent is running

    Hello

    I have a question about account using OBIEE agent.

    If I run an agent today to deliver A report, can I me A report based on the date of last Monday or any dynamic dates?

    For example, say is today, December 18, 2013, and my agent is run according to how I put the calendar. Now the content of the delivery report one being delivered. Now A report has a date column, normally this column is filtered by the current date. But if it comes through the agents to different users, the data should be the previous Monday, so in this case, 9 December 2013. When this agent is run once again, declared December 27, 2013, then the report must be filtered by December 16, 2013, which is the previous Monday 27 dec.

    Something like this is possible in OBIEE 11 G?

    Thanks in advance.

    Yala,

    Not in a straightforward way

    (1) let the report through Agent with filter current Date

    (2) after he ran for the first time you can see IBOT name/last execution time (LAST_RUNTIME_TS) in S_NQ_JOB

    Create a variable reference 'last_run_agent' to aid in sql to get max (LAST_RUNTIME_TS)

    SELECT max (LAST_RUNTIME_TS) from s_nq_job, whose name = "AGENT_NAME;

    Change analysis with current date filter report and amend accordingly the condition of filter to filter on repository variable, newly created

    Thank you

    Angelique

  • Problem chart/getting updated when you press on the background thread notification dialog box

    I have a user who is graphical reports strange behviour after our request and only under the following condiitions alarms:

    1 sets of users clock back to trigger the alarm

    2 user locked the BB

    3. the user receives alarm 1 minute later

    4. the user unlocks the BB

    The strange behavior is that the background seems to resemble a back buffer bland with a rectangular hole where the notification dialog box should be.  The user clicks then the graphics and where the button should be back to normal.

    The question is not if the user does not lock the BB first - it's only under the condition of deadlock that the problem occurs.  The user statement also sometimes see a dialog "Please wait" when running our application after unlocking, but never when our application is stopped.

    Model is 8310 with 4.5 and approximately 3 MB of free space depending on the situation-> filefree.

    The dialog box is to be generated and added to the queue by a background thread using the following method:

        private void notifyUser(String msg) {
            UiEngine ui = Ui.getUiEngine();
            EncodedImage icon = Theme.getIcon(false, true);
            Bitmap bm = null;
            if (icon != null) {
                bm = icon.getBitmap();
            } else {
                bm = Bitmap.getPredefinedBitmap(Bitmap.EXCLAMATION);
            }
            synchronized (Application.getEventLock()) {
                Screen screen = new Dialog(Dialog.D_OK, msg, Dialog.OK, bm, Manager.VERTICAL_SCROLL);
                ui.pushGlobalScreen(screen, 1, UiEngine.GLOBAL_SHOW_LOWER);
            }
        }
    

    I checked the problem does not occur on the "BOLD", Pearl Flip, or 8100 with real hardware.  The problem never happens in simulators (tried about 6 models).

    Any thoughts?  Is there something wrong with the code above or spark a dialogue for a non-event like this thread?

    Thanks in advance...

    The workaround for the "locked" State is to implement MemoryCleanerListener in your main application class. This listener is notified when the device is locked. We define a property here "deviceWasLocked", then query this property of our custom popup dialog to determine if we arrive on a locked screen.

    Then we switch our application in the foreground (requestForeground) that clears up this particular issue, and any event goes well.

    The problem of 'missed calls' is a little more complicated, unfortunately, but you're not complaining that one!

    Having said all this, I'd love to see other ideas on how to solve this problem. We strugggled for several weeks with this problem when the 4.3 is released.

  • Apex 5 schedule: different color based on the value of data field

    Dear Experts,

    I need to have a different color for each record on the calendar based on the value of the data field (eg. category).

    How can I achieve this?

    Thank you!

    See: -.

    You don't have to wait for APEX 5 integration FullCalendar ~ Blog of Doug Gault...

  • How to add dynamic items based on the results of a dynamic query?

    Hi all

    I'm quite new to ofa, here's my problem.

    I have a table 'interventions', each intervention have actions stored in the table "actions".

    I want to show the actions of an intervention in a list, based on the id of the intervention. the response ID value is dynamic, so does not know the number of shares that you want to display in the list.

    Can someone tell me the steps to create a region that has dynamic elements to display names of action?

    Thank you

    Kind regards

    Afaf

    Afaf,.

    Take a look on the link below to see how to create dynamic VO:

    Blog of Anil Oracle Application Framework: create VO when running at the controller or dynamically created VO

    You could add messageStyled text like the code below:

    OAMessageStyledTextBean newMessageBean = (OAMessageStyledTextBean) createWebBean (pageContext, MESSAGE_STYLED_TEXT_BEAN, null,"" ");

    Links to dynamically create elements below:

    Add columns to the table advanced in OA Framework Programatically by Extension

    OPS KNOWLEDGE HELPER

    Let us know if you get any errors when creating.

    See you soon

    AJ

  • How to remove a background from an image with a body similar to the background color

    Hello world!

    New here so I hope I ask this in the right place

    I used to use photoshop many years ago and get back inside. One thing with which I have a particular problem delimbing Fund images that are quite bright whites / have little white in them - normally I would use techniques basic as the background eraser or the magic wand, but due to the edges by a quite brilliant and mix a little in the back on the ground, I find it very difficult to cut the image.

    I work with an example image is this yo-yo > http://yoyovillage.co.uk/img/c/iYoYo%20Steel_1200px_01.jpg

    Basically, I want to remove the white background and also the reflection / shadow below while I'm just left with the body of yo-yo in the image (like this > http://www.yoyovillage.co.uk/264-home_default/level-6.jpg)

    One option, I was advised might work using a layer mask shape and essentially make a copy of the image in photoshop layer and then use the settings of brightness/contrast to ensure that the yo-yo is a little more easily selectable, but this does not work either (and I'm a bit of a n00b when it comes to layer masks).

    I was hoping someone here might be able to help - it may be that it's just not possible, but if anyone can say anything I would really appreciate it.

    Thank you very much

    Luke

    Took about 3 minutes:

  • Set the Dynamic Menu based on the opening of session/user role

    Hi all

    Can someone help me to define the Dynamic Menu based on logon user/role? I have several menu and I want to change the menu primary logon user or role-based.
    How can I do this?


    Arif

    Hello

    try to use replace_menu, see form builder help

    New_block_instance trigger, you can write

    replace_menu ("C:------...-.mmx'");

  • activation / deactivation of field with dynamic action and apply the attribute 'required value.

    Hello

    Wanted to know how to force the 'required' attribute for the element off after that is "activated" by a dynamic action.

    For example, consider employee form.  I would like to disable the column of employment and salary.  As soon as the user enters the name of the employee, I will 'activate' JOB and SAL columns using "dynamic action".

    IMG-1.png

    IMG-2.png

    And above works fine.  Please note that both JOBS & SAL of columns 'NULL' according to the DB table.  My question is, how to comply with the condition of 'value' Yes, after allowing them.

    Another example would be, when the user selects 'Check' or 'Project', the 'no project' column will be activated.  Otherwise, "Project No." column is disabled (that is, the value is not required).  However, when turned on, I want to apply "value required" in this column.   How to get there?   (I use APEX 4.2.6)

    Thank you

    -Anand

    Why you do not create a function that returns a Boolean, validation of the page?

    You can do something like

    BEGIN

    IF: P5_ENAME IS NOT NULL THEN

    IF: P5_JOB IS NULL THEN

    Returns false;

    ON THE OTHER

    Returns true;

    END IF;

    END IF;

    END;

    You can change it to any desired column.

  • Conflict of resource with card wifi PCMCIA on the boot process

    -Did you turn off the wlan card integrated in the victory and also with the switch near the wlan on board.
    -Did you flash the latest bios version

    Seems that the problem is loading.

    Is it possible to disable the onboard in the loading process? Even though I'm sure it must be possible to have two cards installed?

    I'm really looking forward to receive assistance.

    A shame that there is no cat.

    No, as much as I know you can disable only the LAN card and not the wireless network card.
    The wireless network card may be disabled in Device Manager.

    But have you tried to change BIOS options for the PCMCIA card.
    I put t know what phone you have but the Toshiba BIOS options of configuration on the second page.
    If the configuration of the device is set on all devices, you will be able to change the PC Card controller mode to: Auto selected, compatible CCIP or CardBus/16-bit

    If he not there no improvement then I guess there is nothing to see

  • Dynamic action based on the value in a table

    Greetings,

    I would like to use a dynamic action to disable a button depending on the value selected/entry in a field in tabular form. Thus, for example, if someone enters the value "LKSG", then a button is disabled (in this case, the 'Add Row' button).

    How I would do this using the tools of dynamic measurements? When I create a dynamic action, I see that my choice of Type 'selection' for dynamic action of shooting is point, area, button, object DOM, jQuery Selector. I don't know how to use a field in a presentation of tabular to firing. Or if it is possible.

    I use APEX version 4.1.1.00.23

    Thanks in advance!

    John

    jfosteroracle wrote:
    Tom - it's very useful! A few questions:

    -J' use a 'button of the model '. To use the static code for the button, I see that the model must include the #BUTTON_ID # in the model. I added the #BUTTON_ID # in the template like this:

    #LABEL#

    Where is the the BUTTON_ID should go, in the

    ?

    After adding this, it does not for a button of the model. But if I change the touch of a button HTML, your method works great!

    It is of course the difference between the two buttons: how they react and, above all, how they are marked upward. An HTML button is a real