Alignment of Chart Regions in a Page

Hi,
I am developing a Time Tracker application in which 2 charts will be displayed If the Manager logs in and 1 chart for a non-manager.
2 charts are displayed as shown in the link below :
http://i5.tinypic.com/13zv6lz.gif
1 chart is disaplyed as shown in link below. The other chart has a conditional display and so does not display
http://i5.tinypic.com/13zv6lz.gif
So when 1 chart is displayed , its aligned to left , is it possible to display it in the centre when only 1 chart id displayed.
Please let me know if there is any method that we can do this..
Thanks!

Possible solutions:
1. Use two different pages for the manager and the other folks, one with the chart nice and centered, the other with two charts aligned.
or...
2. Condition out both charts for the non-managers, then condition in a copy of the solo chart with the proper centering (use a different template, perhaps).

Similar Messages

  • Drill down: new page appears in chart region

    I have a PL/SQL generated SVG chart with drill down to a report page.
    The chart region is calling the procedure from an <embed> command.
    However when drilldown is performed, the report page displays inside the chart region on the initial chart page, rather than replacing the chart page with the report page.
    How can I force the drill down URL to replace the whole page rather then put the chart inside the chart region?
    Thanks,
    Roland

    This worked for me:
    select 'f?p=&APP_ID.:1:&SESSION." target="_top' link
    , label
    , value
    from...

  • How to share the same QUERY among report, chart on the same page? and more

    Dear HTMLDB experts,
    I am absolute rookie to this tool, so I have some questions need you all's help.
    (1)
    When I build a page with a spread sheet and a chart on the same page, they all use the same query to get the data. However, I have to type in the SQL twice in spread sheet(report region) and chart's attribute sections. It seems so dumb, does it really run the same query twice, is there a way to share the same query?
    i.e. SELECT name, timestamp, value FROM foo WHERE name = :P1_NAME? (by the way, is :P1_NAME case sensitive?)
    (2)
    In the same chart, if I have two series from two columns of the same table, I have to write 2 queries, one
    select null, timestamp, value1 from same_table
    and
    select null, timestamp, value2 from same_table
    Is it possible to use one query: select timestamp, value1, value2 from same_table and define the series on two value columns of this single query? It's really no point to run two queris.
    (3)
    In a chart, when the query has ORDER by clause, it seems the chart is not showing up.
    So instead of using the query below
    SELECT null, to_char(ts,'mmdd') ts, value
    FROM same_table
    WHERE ts >= TRUNC(SYSDATE) - :P2_DAYSAGO - 1
    AND name = :P1_NAME
    ORDER BY ts
    I have to use a walkaround query
    SELECT null, ts, used
    FROM
    SELECT null, to_char(ts,'mmdd') ts, value
    FROM same_table
    WHERE ts >= TRUNC(SYSDATE) - :P2_DAYSAGO - 1
    AND name = :P1_NAME
    ORDER BY ts
    Further more, it seems :P1_NAME in the same subquery is not working for the chart, i get xml parsing errors in SVGviewer, however the same query works for the spread sheet area, I am really puzzeled. Not sure whether it's dumb tool or dumb me :-)
    Appreciate your help!
    Jianhui

    <quote>
    Further more, it seems :P1_NAME in the same subquery is not working for the chart, i get xml parsing errors in SVGviewer, however the same query works for the spread sheet area, I am really puzzeled. Not sure whether it's dumb tool or dumb me :-)
    </quote>
    For this particular issue, I found out that neither is the tool dumb nor is me. It's SVGViewer messed up with the firefox browser, after I rebooted the computer this morning, problem is gone. I didnt reboot after I copied SVGViewer dll and zip file to firefox plugin directory yesterday. Never had that pain with IE and Netscape, oh well :-). So please ignore this section, however other questions are still unsolved puzzles for me. Thank you all if you can share some light on those questions.

  • Portlet Chart error message with page parameters

    I have a perplexing problem.
    We're using portal 9.0.4. I've created a chart from a sql query using the portal builder tools. It's a complicated query with two parameters that have default values defined. The chart will run as a portlet from the portal provider edit page just fine.
    I can place the chart portlet on a page without hooking up the page parameters and it runs just fine from the default values. However, when I hook up the page parameters to the chart parameters from the page properties area, the chart no longer works. It displays "Error Message" in the portlet header area with no other error messages. The other portlets continue to work just fine.
    I've double checked the page parameter settings. I've built a second chart, and the same thing happens when I hook up the page parameters to the portlet on the page.
    I traced through the portlet code in the generated package, and it seems to be failing on this statement:
    l_cursor := PORTAL.wwv_user_utilities.bind_query (
    p_module_id => 1182363588,
    p_query => l_query,
    p_arg_names => l_arg_names,
    p_arg_values => l_arg_values,
    p_bind_vars => PORTAL.wwv_standard_util.string_to_table2('p_grp_id:p_org_id'),
    p_var_types => PORTAL.wwv_standard_util.string_to_table2('ARRAY:ARRAY'),
    p_bind_null => true,
    p_mode => p_mode,
    p_prefix => p_reference_path);
    If I comment this line and everything after it out, the portlet runs, although none of the chart is displayed the portlet header shows the correct title. If I uncomment this particular line, then the portlet errors out with a "Error: The listener returned the following Message: 404 Not Found" message.
    Anyone have any ideas please??

    Look at your code. Count <body> tags. How many do you
    get? Yeah - that's
    wrong. You didn't follow the video....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "camelbreath" <[email protected]> wrote in
    message
    news:g680gh$3c$[email protected]..
    > I'm not sure if this is a PM issue or a DWCS3 issue. The
    only way to find
    > out
    > is to ask.
    > I have gone through the process of creating a a library
    item of a
    > PopMagic menu according the the video provided by P7.
    Works well.
    > Then I added the library item to an existing DWCS3
    template and saved
    > it. When I attempt to create "new from template" page
    from the template
    > menu, I get this error message
    >
    >
    http://www.jdcdemo.com/blf/error.html
    >
    > If I do the same with a template without the menu, the
    > error message goes away.
    >
    > If I create a page with from a template where I've left
    an editable
    > region for the menu and then insert the menu and save
    the page, I also
    > get the error message, but the page seems to work ok.
    >
    > Since I can't create a new page with the template, I
    opened it and saved
    > it as
    > a page:
    >
    >
    http://www.jdcdemo.com/baim/BLF8/error-message.html
    >
    > What is going on here and is there a fix?
    >
    > Thanks,
    > Joe
    >

  • How to display chart region based on select list in html region ?

    Hi all,
    i'm using 4.0.1.00.03 apex version,in a page i have 2 regions one is html and another one is Chart region.in html region i have a select list and button.when user sign into my application select list have some values in that page,user select's a value and clicks on the button then chart will be displayed.my query is when user first sign into my application i want to dispaly chart region when only select list is selected and clicks on the button.can any one guide me on this.
    thnx in Adv.

    Hi yann,
    thnx for ur reply,
    i have done what u have written but i didn't meet my requirement..
    let me explain what i need exactly
    as of now my application is like this..
    i have a html region in that i have select list(P6_LIST) and go button
    and chart region.
    chart query is like this..
    SELECT your_value
    FROM your_table
    WHERE your_value = :P6_LIST
    AND ...
    how it is working??
    when user sign into my application, user can see html region with 'select list and go button' and chart region with 'no data '.
    when user select a value in select list and click on go button automatically chart region will be dispalyed with chart.
    what i wanted to change is..
    when user sign into my application, user can see html region with 'select list and go button' and no chart region
    when user select a value in select list and click on go button then only user can see chart region with chart.
    plz help me how to do it.. :)
    thnx in Adv.
    Edited by: moulani on Nov 4, 2011 12:05 PM

  • Creating a tab region within a page in APEX

    Hi there,
    Could someone please guide me to some examples on how i could create a tabbed region within a page?
    Thanks

    Here is what i do...
    In HTML Header I will add the below code
    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
    <script type="text/javascript">
    $(function() {
       $("#tabs").tabs();
       $x("tabs").appendChild( $x("tabs-1"));
       $x("tabs").appendChild( $x("tabs-2"));
    </script>Then i will Create 3 Region.
    Region 1 >>> Create an HTML Region ( REGION TEMPLATE = NO TEMPLATE) and add the below code in REGION SOURCE
    <div id="tabs">
    <ul>
       <li><a href="#tabs-1">Employee</a></li>
       <li><a href="#tabs-2">Chart</a></li>
    </ul>
    </div>Region 2 >>> Create HTML Region... Add two text field to this region .. now edit the region
    Add the below code in region header of REGION 2
    <div id="tabs-1">Add the below code in region footer of REGION 2
    </div>Region 3 >>> Create HTML Region... Add two text field to this region .. now edit the region
    Add the below code in region header of REGION 3
    <div id="tabs-2">Add the below code in region footer of REGION 3
    </div>Example : http://apex.oracle.com/pls/apex/f?p=12060:7
    I have used exactly the same code... except that my Region 2 contains REPORT insted of two text field and Region 3 contains CHART instead of text field.
    Regards,
    Shijesh
    Please reward the answer if it was helpful / correct

  • Chart region with percentage complete

    Using APEX 4.1.0.0.23
    Oracle 11g database
    I am sure the answer is really easy but I can't seem to figure out how to create this chart region.
    I will have a data set which looks like this
    USERID VARCHAR(30)
    QUESTIONS_CORRECT NUMBER
    TOTAL_QUESTIONS NUMBER
    Where the data might look like
    JONES, A 10 20
    FLINTSTONE, F 18 20
    RUBBLE, B 6 12
    The page the user will be looking at will be for themselves (RUBBLE, B for example).
    I want to show a region which shows their percentage correct (50%) on a pie chart - basically a visual reference instead of showing them a number.
    So my query would be something like:
    Select questions_correct/total_questions from userdata where userid = :P5_USERID
    How do I get this represented in a chart region?
    Thank you in advance!
    --Seattle                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    SleepDeprivedInSeattle wrote:
    That is part of it - but how do I turn the percentage into a Flash (or HTML) pie chart which would show the pie chart as being 50% complete. My users are, um, computer-slow and they respond better to pictures than numbers...Have you tried creating a chart region?
    Edited by: fac586 on 19-Mar-2013 19:07
    One way of writing the chart series query:
    with test_data as (
      select 'JONES' userid, 10 correct, 20 questions from dual
      union all
      select 'FLINTSTONE', 18, 20 from dual
      union all
      select 'RUBBLE', 6, 12 from dual)
    select
        null link
      , 'Correct' label
      , correct / questions * 100 value
    from
        test_data
    where
        userid = :p2_userid
    union all
    select
        null
      , 'Incorrect'
      , (questions - correct) / questions * 100
    from
        test_data
    where
        userid = :p2_userid
    order by
        label

  • Multiple Regions on one page

    Hello,
    I am using APEX 4.0.1. I am having hard time in designing my page. I have 4 regions in the format like below:
    Top1 Top2
    Bottom1 Bottom2
    - Top 1 is a report region
    - Bottom 1 is a Chart region
    - Bottom 2 is a report region
    - Top 2 contains 2 chart, one HTML Chart and second flash pie chart.
    I am not sure how to create these regions.
    Thanks in Advance,
    Suman
    Edited by: user546012 on Oct 22, 2010 11:48 AM

    Please do the following:
    1) Change your username to something more friendly.. We are a friendly group here (for the most part..) and we like to know who we are talking to.
    2) Please DO NOT post here about having a STRICT deadline. We are are working class people here and do NOT get paid to do this.. It's whats called FREE SUPPORT. You can ALWAYS get a refund, but don't spend it all in one place..
    Try looking at the APEX 4.0 feature called sub-regions..
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.

  • How to display help text for Region in a page having more than one region

    Hi all,
    I want to display help text for each region in my page. I have 5 regions in my page.
    I have a big help text for each of my region so can any easy way is there to put the help text for each region more than 10 lines .I tried lot by searching forums but not able to implement. any document is there then please let me know.
    Thanks in advance,
    Amit

    i mean either if we click the region title name it should display some help text of near about 10 lines in a popup window.
    Or on moseover whenever we will put the cursor into the region title then it should displat the help text message of line 10.
    Hope you will get my qustion well.
    Thanks,
    Amit

  • Need to remove the header and footer regions on one page

    Hi,
    I have a requirement to remove the header and footer regions on one page only. The regions I'm referring to contain the following:
    Header:
    Company logo, Home link, Logout link, Preferences link
    Footer:
    Copyright info, Privacy Statement, Home link, Logout link, Preferences link
    These are the standard Oracle header and footer regions/page items, so I am not specifying a particular page name, although it would be the create time cards page we want to modify.
    Also, we only want to remove these regions/items from ONE page, not an entire responsibility.
    Any help is greatly appreciated.
    Thanks!
    Suzanne

    Hi,
    In order to hide,
    Home link, Logout link, Preferences link
    Use this code in the processrequest of the controller on the page on which you want tohide these
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    page.prepareForRendering(pageContext);
    page.setGlobalButtons((oracle.cabo.ui.UINode)null);
    And for hiding the Copyright info, Privacy Statement:
    Click on Personalise page link
    then Click on Choose Context
    Choose "OAFooter" as Scope
    and click "Apply"
    and then Personalise the Copyright and Privay Statememnt icon and set rendered as False.
    Thanks,
    Gaurav
    Edited by: Gauravv on Aug 25, 2009 8:36 PM

  • How to add more than one tabular region in a page?...

    How to add more than one tabular region in a page?
    i have a page, that page contain form and tabular region. when i trying to add another tabular region it showing error
    1 error has occurred
    Updatable SQL Query already exists on page 2. You can only add one updatable SQL query per page. Select a different page.
    but i have to add the tabular in that page.
    Is it possible?
    pls help...
    Thanks and regards,
    skud

    hi,
    even i am searching for some thing similar.
    i want to have 3 calendars in one page.
    getting same message calendar already exists on page 2. You can only add one calander per page. Select a different page.
    pls help.

  • How To Create New Region in standerd Page?

    Hi Friends,
    i got the requirement in OAF. i am in new oaf pl z any one help to me..
    My requirement is in SSH R Responsibility add the new custom region how to add the custom Region in Standered Page.
    Thanks.
    Srini

    Hi,
    Thank full for replaying...And i have one more doubt in SSHR Page having Table RN in Competences Region my requirement is here Table get the 1.FUNC Values and 2 BEHV Values so we split the both things how?
    i am approaching in this way first i create the 2 view objects through vo extension because it will came the same vo so i create the 2 vo's now how to add the competences RN.
    plz help me this is urgent......

  • Getting Error in  shuttle region while loading page.

    Hi All,
    I am developing shuttle region in a page which depends on selected values in the drop down list. i am getting all values for every value in the drop down list. but i want to get values in the Available list of shuttle region with respective value selected in drop down list.
    Can any body send code for shuttle RN co?(in process request and process form request ) .
    Thanks,
    Mahesh.

    In process form request :
    /* user changed the option - capture the event */
    if("optionChangeEvent".equals(pageContext.getParameter("event")))
    pageContext.forwardImmediatelyToCurrentPage(null,false ,ADD_BREAD_CRUMB_NO);
    In processRequest :
    String selected = pageContext.getParameter("choice");
    /* means some thing is selected */
    if(selected != null)
    test = Float.valueOf(selected);
    OADefaultListBean list1 = (OADefaultListBean)webBean.findChildRecursive("list1");
    list1.setListCacheEnabled(false);
    OADefaultListBean list2 = (OADefaultListBean)webBean.findChildRecursive("list2");
    list2.setListCacheEnabled(false);
    /* bind the query parameter through AM*/
    ShuttleAMImpl am = (ShuttleAMImpl)pageContext.getApplicationModule(webBean);
    am.initFWK_TBX_PO_HEADERVO(test);
    Regards,
    Guru K

  • How do I restrict content provider edit rights to a single region on a page

    We have a 2-level security requirement for Portal pages that are accessed by "the general public" - users that do not log into Portal. I'll call this population "The Public".
    Top Level Edit Security
    Web-masters need to edit all content on any page in any page group.
    Sub-Level Edit Security
    Content providers need to be restricted to editing HTML content within a single region on all pages within a single page group. They will use the RTE (FCKeditor) to edit the content of the restricted region.
    One idea I tried was creating a nav page as a portlet and placing the portlet on the page. This seemed satisfied all the requirements. The drawback is having to create a new nav page for each page created. Since the content and pages are mostly static this does not seem, to me, to be a big deal.
    I next tried Item level Security, created a group (publicusers) that included PUBLIC and ContentProvider users and granted "view" to the "publicusers" group . I found that "The Public" can see the entire page, except for the Text Item Type that is under Item Level Security. Only by turning off Item Level Security can "The Public" see Text Item Type. (This action seems to be supported in the documentation as well.)
    Any other ideas on how to implement multi-level content security on pages within a page group? There will be at least 18 page groups, each with a unique content provider. The content provider can not edit content outside of their designated page group.
    Thx.
    --Don                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I would recommend creating pages for each "chunk" of content that needs specific security. Set the security at the page level.
    Then, publish those pages as portlets, and stick those portlets in the regions that need "per group" edit rights. For each portlet, display the Edit link. Users who have rights to edit the portlet's source page will see the edit link, and can edit that content "in place".
    Does this help?
    -John

  • Skip to content link/hyperlink to a region in a page

    Hi All,
    I want to make a "skip to content" link that will bring user to the content region when clicked. I make this link in a HTML portlet, but I don't know what value to put in the href attribute to make it pointing to the target region in a page ?
    Thank you for your help.
    Jeffry

    You can try something like this:
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function doSomething(obj)
         var h=obj.name;
         var returnVar = document.getElementById(h);
         returnVar.focus();
    //-->
    </SCRIPT>
    <a name="portletId" href="#" onClick="doSomething(this)">click this</a>

Maybe you are looking for