How to hide a chart when no data

Hello

I have a chart in my rtf model. I extract data from db with the sql query.
I want to hide this model when there is no data (means sql query returns zero results). Can someone let me know how can I achieve this?

Thank you
-Vijay-

Check if the widget is based on exist or check for account of this item as 0? >

Tags: Business Intelligence

Similar Questions

  • How to hide the buttons when no data found!

    Hi all

    I created two regions

    1 Serach region
    2 results region.

    Initially during the loading of the page with the help of hidden drive I'm Basel to hide 'areas of results' once that they clik this serach button I display area with teo translated region more buttons as buttons 'export' and 'print '.

    It shows very well when there is data in the region of Reulst.
    But when there is no return I displays the message "No data found" but at the same time it displays 'export' and buutons 'print '.
    This button should show only when data are available in the results area.

    Thank you
    David...

    abhishek8299 wrote:
    Use SQL statements (Exists) in the State and write an sql statement it.

    Use this

    SELECT
    1
    FROM form1 MF,bench1 BM,
    participant1 PP,key1 KT
    WHERE MF.ENGAGEMENT_ID=BM.ENGAGEMENT_ID
    AND BM.ENGAGEMENT_ID =PP.ENGAGEMENT_ID
    AND PP.ENGAGEMENT_ID =KT.ENGAGEMENT_ID
    
  • How to view the spaces when the date is zero?

    I have my OBAW dates that are NULL values in the database. When they appear in answers they all up as on 01/01/1901. My user wants to see spaces or empty instead of 01/01/1901, but I don't know where this default value is defined.

    I can identify the NULL values using a case statement, but I don't know how to push the spaces into a date column.
    BOX WHEN "Date of the invoice. "" Billed Date ' is zero THEN? ANOTHER "Invoice Date". " Charged Date"END

    Help!
    B

    In your Date column, click the fx button and type this:

    BOX WHEN YEAR (datecolumn)<= 1920="" then="" null="" else="" datecolumn="">

    Of course, you can change the "1920" as the case may be.

  • SQLdeveloper export to Excel - how to hide the SQL worksheet for data export

    Export to Excel - how to hide SQL worksheet for data export?

    Hello

    SQL Developer forum is here: SQL Developer

    Frank

  • How to hide the 0% when it is empty

    I have a form field that is formatted to be a percentage, but when the field is empty it displays '0% '. I need this area to be a Virgin until I get back a value.

    The validation script "if(event.value == 0) event.value = '';' does not work for percentages and I have not been able to find a solution through research." Any help would be greatly appreciated.

    Oh well, thanks for the help, person. I managed to find a partial solution. Although it is not completely perfect, it is achievable.

    This custom validation script allows to hide the 0% when the document is printed:

    Event.Target.Display = event.value == 0? display.noPrint: display.visible;

  • 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 remove line empty when the data are not for a text field

    I created a PDF with Acrobat Pro 11 model. This model has an address of the employer with the address line 1, address line 2, city, State, zip code, country. The requirement is to show address line 1 and line 2 address in separate lines and address line 2 cannot be present always. If address line 2 is not present then the PDF should not show a blank line. How do I get there?

    These data are populated through xml by a publisher of BI. New line characters do not work.

    Appreciate your help on this.

    Hi sprphoto123,

    If you do not enter data in the text field 2 then you can set the form field property to is not mandatory, but if you want to disable the 2nd text field, you can add a check box in front of it to turn off the field. This can be achieved using JavaScript.

    Kind regards

    Nicos

  • How to rasterize a chart that contains data from the path?

    In this function, when I type = 5 (create the path object), the object of trace appears on the canvas, but the BitmapData is empty. What I am doing wrong?

    public function createRandomObject (): Object

    {

    var MAXX:Number = 700;

    var MAXY: Number = 500;

    var MINRADIUS:Number = 20;

    var MAXRADIUS:Number = 100;

    var MAXHEIGHT:Number = 100;

    var MAXWIDTH:Number = 100;

    var MINHIEGHT:Number = 20;

    var MINWIDTH:Number = 20;

    var NUMTYPES:Number = 5;

    xPos var = Math.floor (Math.random () * MAXX);

    yPos var = Math.floor (Math.random () * MAXY);

    type var = Math.floor (Math.random () * NUMTYPES) + 1;

    var color: uint = Math.floor ((Math.Random () * 0xFFFF00) + 0x0000FF);

    graph: graph of var = new Graphic();

    graphic.graphics.beginFill (color);

    type = 5;

    var width: Number = Math.floor (Math.random () * (MAXWIDTH-MINWIDTH)) + MINWIDTH;

    var height: Number = Math.floor (Math.random () * (MAXHEIGHT-MINHIEGHT)) + MINHIEGHT;

    Switch (type)

    {

    case 1: //circle

    {

    var radius: Number = Math.floor ((Math.random () *(MAXRADIUS-MINRADIUS))) + MINRADIUS;

    width = height = radius * 2;

    graphic.graphics.drawCircle (RADIUS, RADIUS, RADIUS);

    break;

    }

    case 2: //square

    {

    height = width;

    graphic.graphics.drawRect (0,0, width, height);

    break;

    }

    box 3: //rect

    {

    graphic.graphics.drawRect (0,0, width, height);

    break;

    }

    box 4: / / ellipse

    {

    graphic.graphics.drawEllipse (0,0, width, height);

    break;

    }

    case 5: / / SVG path

    {

    var pathData:String = "M 0 L 0 40 0 40 40 40 0 L L Z;

    var pathData:String = « M 247 153 L 0 400 400 800 609 800 695 800 696 801 722 873 749 802 774 827 801 801 827 827 852 802 879 873 905 801 906 800 993 800 1201 800 1601 400 1201 0 801 400 400 0 247 153 Z » ;

    path: path of var = new Path();

    Path.Data = pathData;

    Path.x = 0;

    Path.y = 0;

    Path.Width = 200;

    Path.Height = 200;

    Path.Stroke = New SolidColorStroke();

    Path.Fill = New SolidColor (0xFFFFFF);

    Path.Winding = GraphicsPathWinding.EVEN_ODD;

    path.validateNow ();

    graphic.addElement (path);

    Graphic.Width = 200;

    Graphic.Height = 200;

    width = path.width;

    height = path.height;

    }

    }

    graphic.graphics.endFill ();

    var FillColor = 0xFF000000;

    mainCanvas.addElement (graphic);

    var bitMapData:BitmapData = new BitmapData (width, height, false);

    bitMapData.draw (graphic); It's empty when type = 5 (path data)

    Graphic.x = xPos;

    Graphic.y = yPos;

    var dataObject:Object = new Object();

    dataObject.bitMapData = bitMapData;

    dataObject.XPos = xPos;

    dataObject.YPos = yPos;

    dataObject.spriteName = graphic.name;

    Returns the dataObject object;

    }

    So I thought to it. Paths use BeforeDraw() and EndDraw(), making the filling operations and outline Draw(). The problem is that these functions not called until the path is rendered on the canvas. So, I expanded my class path and too rolled the EndDraw() function. In this function, I sent an event. Then, when I catch the event I can get the DisplayObject of the track (which is now filled) and pass this object in BitmapData().

  • How can I remove snapshots when the data store is full?

    Hello

    With the help of ESXi 4.0.0 build 171294

    I have a virtual machine with a number of snapshots that became very large (rookie mistake I know). Finally, missed data store.

    Delete all the snapshots of the apparently successful Snapshot Manager but has not not any space free, and watching the VM directory via ssh show the delta files always there.

    I tried following the instructions in http://KB.VMware.com/selfservice/microsites/search.do?cmd=displayKC & externalId = 1007849

    but the I am always left with a complete and all data store the remaining delta files.

    I also tried renaming the file .vmsd and create another snapshot as suggest in this slideshow:

    http://communities.VMware.com/servlet/JiveServlet/download/978799-10548/200704231611490.TSX2007-Top_Support_Issues_-_part2.ppt

    After remove it all the snapshots returned instantly, of course, not doing any consolidation.

    1. Is there an any hope of consolidating these shots?
    2. If this is not possible, there is a way to roll back all the way to the original disk file?
    3. Update the firmware of ESXi at this stage would help?

    Thank you very much

    Alex

    According to the vmdk files, the virtual disk of 250 GB is thin provisioned. Please take a look in the browser of data store to see the current size of the virtual disk. Commit a snapshot to a thin provisioned disk can consume additional disk space (which you do not have).

    André

  • 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

  • How to hide data from object whithout

    Hello

    I would like to know if there is a way to hide the legend of the object as well as on texfields, when no data (node) is sent to the XML file.


    Also is it possible rate the implementation when this object is hidden for not having data?

    I work with LiveCycle Designer ES2.

    Thank you.

    You can hide the textfield when no data is present instead of only the legend, if you wish.

    TextField1.presence = 'hidden ';

    As for your second question:

    If you set the subform as Flowedform then he will readjust the sections when one of them is hidden.

    Thank you

    Srini

  • How to hide the user Menu at the bottom of the screen

    Hi all:

    I'm new to apex, who currently use 3.2.1.

    I've created a simple interactive report, the display shows the data in report correctly AND
    a menu at the bottom. the content of the user menu is:

    username
    House 101 1 request edit page create Session activity Debug see the edit links

    How to hide this menu when the user access the app?

    Thank you
    John

    Hello

    This "menu" is called Developer toolbar.
    It is visible only when you login to APEX Builder and run your application.
    So it won't be visible to end users.

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to hide the MS account in the login screen of win8

    I won't show my MS account in the login screen of windows8,

    Can someone help how to hide MS account when connecting.

    I what to do. Thank you!!

    Name of xxxxx

    MS account (e.g. xxxxhotmail.comt)<--- hide="">

    I would like to know if there is a way to disable the display of the Microsoft Account e-mail address on the login screen while still requiring a password entry.

    Is this possible?

    Set up a Local account login rather than the connection of the Microsoft account.  You will then just your name?

    Charms / settings / change PC settings / user (left)

  • How to hide the report engine

    I'm new in oracle and want to know how to hide report engine when running...

    Can someone help me...

    Thank you

    Fasquel

    The following coding will help you hide the report oracle machine,

    ADD_PARAMETER (IDparam, 'ORACLE_SHUTDOWN', TEXT_PARAMETER, 'YES');

  • 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

Maybe you are looking for

  • Need bios 2.30 for Satellite X 200 - 24Z

    Hi all I upgraded my X 200 - 24Z of version 2.30 of bios to version 2.50 but it does not work correctly now (boot is much slower, graphic quality has declined, the screen flashes a lot and SLI is sometimes automatically disabled). I would go back to

  • I'm looking for drivers XP for Satellite P205-S6307

    Hello.I'm looking for drivers for windows XP, but I can't find.Can someone help me solve this problem?Thank you very much.

  • HP DV6: SimplePass causing dllhost restart

    Hello. So I have a laptop DV 6 and I upgraded to Win10 when released MS it is free. Since then it has worked very well. All of a sudden, I noticed that my mouse cursor is flashing and showing a busy sign and my LED finger print scanner blinks as well

  • Generation SQL line with connection by level

    HelloI'm looking for generate lines based on a quantity of part numbers.  I have looked all around several techniques for the generation of the line, but have failed to address this problem.  The current method, it seems pulls a permutation of all po

  • Purchase links are broken

    I followed the tutorials, but last night 30/03/16, I was unable to buy a single image. I was only allowed to become a member on an experimental basis. I had to do it bc of my date limit, but the links to download an image point a failure on the site