Charting application: how to display graphic detail when you click

Hi, I have a graphic flash that displays values of monthly summary. When the user clicks on a bar (say for the month of January), I want to show another chart based on data for January only. I am trying to find a way to show my detail table when the user clicks on a summary bar.
Can someone advise how can I pass value of graph parent to the child table?

Thank you
Aali

Published by: Estelle on February 2, 2010 00:30

Hi, Estelle,.

Create 2 pages, a summary, the other for detailed (assuming P1 & P2). The query for your first chart needs to link to the second including a month value. It might look like this:

select 'f?p=&APP_ID.:2:'||:app_session||'::::P2_MONTH:'||MONTH||':' link, MONTH  label, SUM(SALES) value1
 from TBL_DETAILS
group by MONTH

-- :2: is the page you're linking to (detailed chart)
-- P2_MONTH should be a hidden item on that page to store the month value
-- MONTH is the value to be passed...this could be some substr(date_col, 4,6) or something

Create your hidden P2_MONTH item by ensuring that it is NOT hidden and protected. Page 2 of the application something like:

select null link, DAY label, SUM(SALES) value1, SUM(COSTS) value2, COUNT(STAFF) value3
 from TBL_DETAILS
where MONTH = :P2_MONTH
group by DAY

I have no information on your tables if so I hope it's aid.

Mike

Tags: Database

Similar Questions

  • How to open an image when you click in a Word.

    Im working in a demo for an interactive book for ipad with the Digital Publishing Suite > Folio Builder and I need to be able to open a specific image when you click in a Word. I have not found a tutorial which shows how to do this can point me to it someone in the right direction please?  THX so much

    Simply put a box above the word. Then convert the box to a button with the action "go State" that points to a specific State in MSO with your image. While an invisible button (no fill and no stroke). Probably the ASM must be first vacuum State.

  • How to hide a TextField when you click another button

    Hello!

    I was able to generate a TextField appear when you click a button, but when I click on another button, to display further information, I have still the first TextField shows.  I had a quick glance, but not managed to find something to help me get the first to disappear.  Can anyone provide ideas for this?

    The code I am using to display the TextField object is:

    Button10.addEventListener (MouseEvent.CLICK, fl_ClickToPosition);

    var fl_TF:TextField;
    var fl_TextToDisplay:String = "send the right projector/screen disply";

    function fl_ClickToPosition(event:MouseEvent):void
    {
    fl_TF = new TextField();
    fl_TF. AutoSize = TextFieldAutoSize.LEFT;
    fl_TF. Background = true;
    fl_TF. Border = true;
    fl_TF.x = 300;
    fl_TF.y = 100;
    fl_TF. Text = fl_TextToDisplay;
    addChild (fl_TF);
    }

    Thanks in advance

    use:

    Button10.addEventListener (MouseEvent.CLICK, fl_ClickToPosition);

    var fl_TF:TextField;
    var fl_TextToDisplay:String = "send the right projector/screen disply";

    function fl_ClickToPosition(event:MouseEvent):void
    {

    if(fl_TF&&fl_TF.parent) {/}

    fl_TF.parent.removeChild (fl_TF);

    fl_TF = null

    }

    fl_TF = new TextField();
    fl_TF. AutoSize = TextFieldAutoSize.LEFT;
    fl_TF. Background = true;
    fl_TF. Border = true;
    fl_TF.x = 300;
    fl_TF.y = 100;
    fl_TF. Text = fl_TextToDisplay;
    addChild (fl_TF);
    }

    Thanks in advance

  • Show/hide elements - how to hide an image when you click on another

    I have a page of the library of photo with 10 pictures on it. I organized it where there is a large image on the left side of the page and 10 thumbnails of turning on the right. I put larger images in separate AP div tags hidden. I want the big picture is displayed when the user clicks on the corresponding thumbnail. This works well, but how to make the image of 'hide' when the user clicks on a different thumbnail.

    Can you help me?

    Here is my code:

    < div id = 'eau1"style =" position: absolute; " Left: 20px; top: 50px; Width: 630px; height: 491px; z-index: 100; visibility: hidden; "" "> < img src ="... / media/images/water/water1.jpg "width ="650"height ="500"alt ="eau1"> < / div >
    < div id = "water2" style = "position: absolute;" Left: 20px; top: 50px; Width: 630px; height: 491px; z index: 103; visibility: hidden; "" "> < img src ="... / media/images/water/water2.jpg "width ="650"height ="500"alt ="water2"> < / div >
    < table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" >
    < b >
    < td width = "20" height = "20" > < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < td width = "20" > < table >
    < /tr >
    < b >
    < height td = "20" > < table >
    < height td = '30' class = "copy18grey" > water Applications < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td width = "650" height = "500" rowspan = "5" valign = "top" > < img src = "... / media/images/water/water1.jpg" width = "650" height = "500" alt = 'eau1' > < table >
    "" < td = '100' height > < a href = "#" onMouseOver = "MM_swapImage ('Image12 '", '... / media/images/water/water1_thmb_over.jpg',1) "Mm_swapimgrestore" > < img src = "... / media/images/water/water1_thmb.jpg" name = 'Image12' width = "160" height = "100" border = "0" onClick = "MM_showHideLayers ('eau1',", 'show') ' onDblClick = "MM_showHideLayers ('eau1',", 'hide') "" > < /a > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < a href = "#" onMouseOver = "MM_swapImage ('Image13 '", '... / media/images/water/water2_thmb_over.jpg',1) "Mm_swapimgrestore" > < img src = "... / media/images/water/water2_thmb.jpg" name = "Image13" width = "160" height = "100" border = "0" onClick = "MM_showHideLayers ('water2',", 'show') ' onDblClick = "MM_showHideLayers ('water2',", 'hide') "" > < /a > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < /tr >
    < /table >

    Show/hide behavior is not just for a single element.  With a single application of the behavior, you can display an image and 24 other people hide.  The trick is to keep by selecting the named items and their visibility, that is, to select "img1" and click display, then select "img2" and click Hide, etc.

  • How to get the event when you click Add another button in a table.

    Hello
    How to recognize the event in processFormRequest click on the button Add another line of the footer of a table?

    Suppose if the ID is anotherRow (I mean ID of the button to add another line of the footer)

    If I give if (pageContext.getParameter ("anotherRow")! = null)... its not recognizing the event that is returning null only...

    I want to perform certain actions when the user clicks Add another line of footer. Please let me know the details of how identify when add another line is clicked...

    Thank you
    Srikanth

    Hello

    If you have only one table with add_row_button, and then copy the following code works perfectly

    If (tableBean.getName () .equals (pageContext.getParameter (SOURCE_PARAM)))
    (& ADD_ROWS_EVENT.equals (pageContext.getParameter (EVENT_PARAM)))
    {
    ...
    }

    tableBean is the Handle for your advanced table, hope, it will help you.

    Kind regards
    Out Sharma

  • "Cannot display Page" error when you click the Remote Agent

    Hello world! ACS SE 4.0, we have installed and we have added a remote agent running on Windows Server 2003. Recently, we encounter "Cannot display the page" error when we click on the RA under a group of network devices. It's resolved by restarting the device SE ACS and access the web console for ACS still once, but after a few hours, the problem reoccur. By clicking on the links on the web console for ACS is OK at first, but after clicking on the RA, each link displays the error "Unable to display the page." Hope you could help me with this problem. Any person support is much appreciated.

    Thank you!

    Hi Jas,

    Here is the bug CSCsg40444.

    Kind regards

    ~ JG

    Note the useful messages

  • Display the Inbox when you click on the root of the mailbox?

    I want the contents of the Inbox to display in the pane on the right, whenever I click on the root of an account/mailbox. (without showing the email accounts, advanced - never splash screen.) Is there a way to configure Thunderbird to behave like that? I noticed that the mailbox should behave as I want by default.

    I suggest that you use the mailbox. Thunderbird will not replace the settings with the Inbox screen. He will be having a set display to date on this screen with much more detailed and useful information. But he will not be replaced.

    This module is the proposed amendment. https://addons.Mozilla.org/en-us/Thunderbird/addon/mail-summaries/?src=SS

  • How to disable a button when you click on another and vice versa in busy border?

    Hi guys!

    I have a question about the buttons!

    I'm not an expert in coding, but I managed to create buttons with actions, but the question is how do I deactivate (deselect) a button by clicking on another and how to activate it when clicking on it?

    I would really appreciate your help!

    Thank you!

    composition of loan:

    button_1 = 0;

    button_2 = 0;

    in the click event of button 1

    If (button_1 == 0)
    {
    button_1 = 1;
    sym.getSymbol("button_1").play (0);  play anything, this button is

    If (button_2 == 1)
    {
    sym.getSymbol("button_2").playReverse ();   Reset everything that made the other button
    button_2 = 0;
    }
    }

    in the click event of button 2

    If (button_2 == 0)
    {
    button_2 = 1;
    sym.getSymbol("button_2").play (0);  play anything, this button is

    If (button_1 == 1)
    {
    sym.getSymbol("button_1").playReverse ();   Reset everything that made the other button
    button_1 = 0;
    }
    }

  • Express Outlook XP email opens automatically even if they are spam. How to open emails only when you click it?

    Hello
    I use Windows XP. At the opening of the e-mail messages by using outlook express, e-mail open automatically, including spam emails. How can I put it as well as the emails I click Open and power safely delete spam emails?
    Thank you

    View | Page layout. Turn off the preview pane.

  • How to play the music when you click on a button?

    Hello

    Could someone help me a little bit to start?
    My first attempt is just to create a scene, in which clicking on a button, it starts to play an mp3 file. I get to start playing as a background music after reading the help file and also tried to find the source code from the internet and also here without success.

    Thus, a person could be that kind of give me an example of jargon code snipplet, who would begin to play music immediately without first importing the file (such as file streaming) if possible and also small instructions how to assign to the key (Yes, not as background music).

    I just got the Adobe Director 11 a few days ago, and my wife is trying to get angry for me to sit with my NB every night without any progress,

    Thank you, in the case where a person pick up...

    Here's a demo movie: . You can download the source from here.

    It uses a member of ShockWave Audio (SWA), which connects to an external file.

  • How to set the variable when you click on text/image

    Hello

    I have the following parts of the code. What I'm trying to do is set a variable and then the new window will read this variable and show detail appropriate according to the value. I call the new window, no problem, but struggling to get all of the variable 'productidkey '...

    Image

    < td width = "202" rowspan = 2 align = "center" bgcolor = "#FFFFFF" >
    < a href = 'details.php' > < form method = "POST" action = "details.php' style =" margin-bottom: 0; ">
    < input type = "hidden" id = "productidkey" name = "productidkey" value = "6198' > < img src ="6198.JPG"width ="200"height = '133' alt ="in more detail"border = '1' >"
    < / form > < /a > < table >

    Text

    < td >
    < div align = "right" >
    < are method = "POST" action = "details.php' style =" margin-bottom: 0; ">
    < input type = "hidden" id = "productidkey" name = "productidkey" value = "6198' > < a href = 'details.php' > < span class ="TexteÉlément"> < b >... < /b >"
    </span > < / form > < / div > < table >

    It works:




  • New first Pro CS 5.0.2 update resolves hang up when you click in and out of Premiere Pro?

    I originally met the problem with first Pro CS 5 (as part of Production Premium CS 5 package) in which case on large projects, particularly with P2, Premiere Pro media would hang up whenever you click on in and out of the application.  I mean, this is when you click on your desktop or Explorer, or another application, outside first pro and then you try to go back to first pro and click inside the app to get back to work, you get a blue wheel and it takes 10-30 seconds before first pro to re-engage and allow you to work.

    I installed the new update 5.0.2 and tested it on my original problem project, having set up a new cache of media file.  Prpro project project file size is about 30 MB and the media of reference is about 300 GB internal hard disk.  Comprehensive data on the initial problem, the specifications and tests are in this form to

    http://forums.adobe.com/thread/639220?tstart=0,

    Unfortunately, in my initial work and testing with that as of today, this problem is not resolved and the same interruption occurs.  During the test I have other applications disabled, no internet connection and no firewall/antivirus program running (mechanic system).

    I have will work intensively in the coming days with a new edition project and will reduce the size of the project and will report if there is in fact improvements or changes to this, but so far, this problem is not solved for me unfortunately.  Maybe for others there is an improvement.

    You know what he has not worked for me - but - and I discovered the solution last night by accident - I was trying this hard to solve because it was not as bad for me because apparently it's for you and others - but - somehow - for me, the solution was my anti virus - I turned it off when I installed the update - so once it has been completed , it appeared the problem had been resolved by the update - but - then I turned anti virus program back on - free version of Avast BTW - and the problem was back - that's when I came across your thread, and of course I put the two together - if - continue - earlier I uninstalled Avast free version and installed AVG free version and - Alto "-everything is good - for now." Sorry to hear that you are still suffering.

    This has been my only nagging question with CS5 - everything else - good so far.

    Best wishes

  • How to choose the display by default when you use two screens on my Mac Pro?

    How to choose the display by default when you use two screens on my Mac Pro?

    The default view when you have several is made that you drag the little icon in the menu bar in this pane:

    .

  • How to display the ToolTip when the input text is disable

    How to display the ToolTip when the input text is disable?

    Just checked in FF and IE11, works fine for me (jdev 12.1.3)

    
          
    
    

    Dario

  • How can I make an availability calendar as they use in the touroperater Web sites. A calendar when you click a button, it displays the dates available for booking? Or do I need a database for that?

    I m busy doing a site for a touroperater. I'm trying to figure out how to do an availability calendar. When you click a button, it will display a calendar where you can choose a date where you wish to arrive and when you leave. When you´ve does this, it will show you whether or not your choisen dates are available.

    I hope I have made myself clear with this question.

    Hello

    Take a look at this topic, discussing the same stuff,

    Appointments available for a site of Muse?

    Please let us know if yous until cases of doubt.

Maybe you are looking for

  • Airport Express connection problem

    I have an old Airport Express I can not connect to.  My utility program Airport says that it does not support this Airport Express device.

  • Why have I not restart between folders in order to remove it at once?

    I successfully delete files in my Inbox, and then go to my sent items folder to delete files. I click on the box "select all" at the top to check all the files. Nothing happens so I manually check each file and then click on 'delete '. Nothing happen

  • Use of the Internet

    Firmware DGND 3700 v2 V1.1.00.24_1.00.24 edition can be configured with the use of individual record internet devices connected

  • ENVY27: Failed to create a system recovery

    My HP SW support prompted me to create a system recovery (after 10 months with the computer). I am trying to create a recovery on USB, but the accident of process in the creation of CD. CD Creator crashed in the files of the copy phase.

  • How do I configure jumbo frames

    PC 3548p Could not find orders for frames / mtu setting? want to set overall n switch?