Flash Chart Disappear on refresh

I am using Apex 4.0.
When using flash charts it works fine until you use asynchronous update.
The chart just disappear .
When you refresh the page it is back but only until the asynchronous update.
I have the problem with the dial and line graphs.
It worked fine in the previuos release of apex.
I have tested it wiit IE8 and Mozilla Firefox
Any ideas ?

Hi Mike,
In response to your question:
Will this patch also fix a problem with multiple series scatter chart showing no data when some of the series return no data?
The patch that Dimitri has referred to only contains a fix for the APEX 4.0 asynchronous chart update issue with Flash 5 charts. This patch has also been incorporated into our 4.0.1 patch release. Can you please elaborate on the "problem with multiple series scatter chart" that you've referred to? If you could also provide a testcase on http://apex.oracle.com, I'd be happy to take a look.
Regards,
Hilary

Similar Messages

  • Auto refresh flash chart not working (APEX 3.1)

    Hi All
    I followed the instructions on how to update auto refresh flash charts on the following page:
    http://www.inside-oracle-apex.com/2007/04/auto-refresh-flash-charts-in-apex-30.html
    Is there anything else that needs to be done? I dont get a 'last refreshed' date, nor does the chart refresh itself.

    user447071,
    I would check:
    1) Can you access the flash files directly? Look at the page's HTML to find reference to an SWF file, then try to access that from the URL.
    2) Is the XML coming back properly? Run the page in debug mode, then click the "Show XML" link after the Flash chart.
    - Marco

  • Refreshing Flash Chart Report based on a Multi-Select List

    I have P13_SYMBOL multiselect list object..
    Set "HTML Form Element Attributes" property of P13_SYMBOL to onchange="javascript:getchart(this);"
    I have written following code at page HTML Header section.
    <script type="text/javascript">
    function getchart(filter)
    var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=GET_CHART',0);
    get.add('G_SYMBOL', filter.value);
    var ret = get.get();
    if(ret)
    var d = document.getElementById('P13_SYMBOL');
    d.innerHTML = ret;
    Created Application Item G_SYMBOL
    Created Application Process GET_CHART as follows.
    DECLARE
    vSymbol VARCHAR2(100);
    BEGIN
    htp.p(:G_SYMBOL);
    EXCEPTION WHEN OTHERS THEN
    htp.p('No such symbol!');
    END;
    Flash chart flash following query.
    select null link, TIMESTAMP label, OPEN value1, HIGH value2, LOW value3, CLOSE value4 from "DCF"."DAILY_STOCK_QUOTE"
    where symbol=:G_SYMBOL
    order by TIMESTAMP
    When I change symbol in multiselect list flash chart doesn't get refresh.
    Any idea what is the wrong with the code?
    Edited by: user8638468 on Mar 3, 2010 12:39 PM
    Edited by: user8638468 on Mar 3, 2010 5:30 PM

    Hey there...
    The reason it's not refreshing is because you actually have to tell the flash chart that it NEEDS to refresh. Unless you have Asynchronous Update turned on, the chart will not refresh itself when the data behind the chart has changed. And even if you DO have Asynchronous Update, on, (Which you don't want to do), you'd likely see some lag between your user's change and the data in the graph changing.
    You can do this by using an APEX JavaScript function called apex_RefreshChart().
    1) Edit the chart and go to the REGION DEFINITION tab.
    2) In the REGION SOURCE, scroll down to the bottom and ad the following code
    <script type="text/javascript">
    function myRefreshChart(){
       var chartName = '#CHART_NAME#';
       chartName = chartName.substring(1);
       apex_RefreshChart(&APP_PAGE_ID., chartName, 'en-us');
    </script>3) At the end of your JavaScript function, call the new function myRefreshChart().
    That should force the chart to refresh by re-executing the underlying query and passing back in the data to the chart.
    NOTE: This function is not part of the publicly documented API's so it's likely not supported, but it does work!
    Look for a blog post with more detail sometime tomorrow.
    Hope this helps.
    Doug Gault
    http://www.sumneva.com
    http://douggault.blogspot.com

  • Drill Down Flash Charts dont refresh in IE

    Hi Friends,
    I am facing a typical issue when I have drill down charts in IE.
    To mimic the scenario that I am facing in my project I have created a sample project in my workspace ntekupal with login guest/apex_demo. Run the application project Emp Dept Dashboard.
    Note : Make sure you use IE to reproduce this issue
    Issue Reproduction :
    1) Select 'Accounting' department from the Departments bar chart by double clicking it(this is one more issue in IE which really annoys me).
    2) Navigate to Employees chart and observe that the Deptno text box shows '10' with the list of employees in the bar chart for Deptno - 10.
    3) Go back to previous page using breadcrumbs.
    4) Select 'Research' and it would again put you back to Employees page showing employee list for Deptno - 20.
    5) Now repeat step-3 and select again 'Accounting'
    6) Observe that the employees shown are not for Accounting Department. It is still showing for Research but the deptno text box would show the value 10(which is correct).
    7) Refresh the page then the employee bar chart would display the actual employees in Research deptmnt.
    Now run the same application in Mozilla and it works perfect.
    I know this could be some caching issue in IE but not sure how to fix this.
    It really freaks me out and my users do not wan to use Mozilla. In my project I am using a bunch of flash charts(bar & pie).
    I appreciate if I can get some of your precious inputs on this situation.
    Thanks,
    Raj.

    I have to, respectfully, take the opposite point of view on this topic. It is very much the applications responsibility to communicate to the browser that the page is dynamic. There are even meta tags specifically for this purpose.
    That said, I concur to the true underlying concern of the above two posts that you would not want a page updating any IE global settings.
    There are commonly two solutions used to solve page caching issues:
    1) There are meta tags shared disparately by certain browsers to disable cacheing, set expiration dates, and similar activities. Each browser honors the settings differently, however, you can safely "stack" several versions together and there are web-sites that suggest the appropriate combination to hit the major browsers.
    The tags to look for are CACHE-CONTROL, EXPIRES, REVISIT, and possibly others. Look them up under each browsers developer documentation as some variation exists in usage. The latter two are for search engines, but several of the browsers will use them in normal page hits.
    That said, IE inconsistently honors these tags, even from version to version, so,
    2) The end-all hack solution is to include a random value in the URL to create a unique URL on each attempt to access the page. Normally this can be achieved through a page or application item that is update on every page view and is passed on the URL line.
    This solution is also commonly used because Proxy's may not honor the tag and so will continue to re-send the proxy version every time the browser requeries.
    Whether this is possible in the Chart drill down I do not know as I haven't used this feature yet, but these are the two solutions you will find browsing the web against page caching.
    I have invariably always had to resort to (2) to get absolutely real time data, unless I am in a corporate environment that used a standard and stable version of the browser.
    Under no circumstances would I prefer to set the IE's always retrieve latest page setting, as this affects every page that IE requests.
    Hope this is helpful,
    Barney

  • Asynchronous update of Flash chart error in IE

    Hi gurus,
    I had a post a while ago about an update command for a flash chart:
    [Asynchronous update of flash chart when select list value changes|http://forums.oracle.com/forums/thread.jspa?messageID=3491745]
    The goal was when I clicked a button or changed a select list the flash chart should update. Here is the command to update the flash chart:
    apex_RefreshChart ($v('pFlowStepId'), $v('Pxx_REGION_ID').substr(1), navigator.language );This worked really well in Firefox but IE always created an error:
    Details zum Fehler auf der Webseite
    Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Zeitstempel: Mon, 5 Oct 2009 06:16:52 UTC
    Message: Object doesn't support this property or method
    Line: 1
    Char: 31991
    Code: 0
    URI: http://apex.oracle.com/i/javascript/apex_3_1.jsTry this example:
    [http://apex.oracle.com/pls/otn/f?p=65555:23|http://apex.oracle.com/pls/otn/f?p=65555:23]
    I found out that IE used another function to get the client language. I fixed that but an error still occurs:
    Details zum Fehler auf der Webseite
    Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Zeitstempel: Mon, 5 Oct 2009 06:27:02 UTC
    Message: Unkown error.
    Line: 49
    Char: 5
    Code: 0
    URI: http://SERVER:8080/apex/f?p=150:1:10579031101899::NO::P1_I_ID,P1_INSTANCE_NAME:1,DB1That is the javascript I used now:
    //check the Browser type to set the right browser language
    function fnc_checkBrowserLanguage()
    var nav_lng="en"; //default language string
    if(navigator.language)nav_lng=navigator.language;
    if(navigator.browserLanguage)nav_lng=navigator.userLanguage;
    if(navigator.systemLanguage)nav_lng=navigator.systemLanguage;
    if(navigator.browserLanguage)nav_lng=navigator.browserLanguage;
    if(navigator.userLanguage)nav_lng=navigator.userLanguage;
    if(window.navigator.language)nav_lng=window.navigator.language;
    return nav_lng;
    // return 'en-us';
    function fnc_setTablespaceItem (pItem)
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=dummy',0);
      get.add(pItem,$x(pItem).value)
      gReturn = get.get();
    // alert('Item '+pItem+' Session State set to '+$x(pItem).value+'!');
      var v_flow_id = $v('pFlowStepId');
      var v_region_id = new String($v('P1_REGION_ID_TU').substr(1));
      var v_browser_lang = fnc_checkBrowserLanguage();
      //alert(v_flow_id);
      //alert(v_region_id);
      //alert(v_browser_lang);
      var vOriginal_apex_RefreshChart = apex_RefreshChart;
      apex_RefreshChart = function(v_flow_id,v_region_id,v_browser_lang)
        vOriginal_apex_RefreshChart(v_flow_id, v_region_id, v_browser_lang);
      apex_RefreshChart(v_flow_id, v_region_id, v_browser_lang);
      get = null;
    }If I set the alert boxed all variables have a value. Firefox works well. And I have no idea what I could do next???
    Tobias

    I just found out that the original time based flash update option creates the same error I get all the time. It can be configured under:
    Chart attributes > Refresh: Asynchronous Update = YES and Update Interval (Seconds) = 10
    Error: (line 49) (JScript - script block):
    function __flash__addCallback(instance, name) {
      instance[name] = function () {
        return eval(instance.CallFunction("<invoke name=\""+name+"\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>"));
      }By the way I use the newest APEX version: "Application Express 3.2.1.00.10"
    Seems more like a general error? Everybody should be able to rebuild this under IE 8 or IE 7. I use IE8!
    Created source code:
    &lt;script type="text/javascript" language="javascript">
    function chart_r2258227549390282_InitRefresh(pNow) {
      setTimeout("chart_r2258227549390282_InitRefresh(true)",10000);
      if (pNow){apex_RefreshChart (1, '2258227549390282', 'de');}
    apex_SWFFormFix('c2258227549390282');
    &lt;/script>It still works well with Firefox.
    Tobias
    Edited by: Tobias Arnhold on Oct 6, 2009 2:37 PM

  • Apex flash Chart not working after upgrade to #5.1.3

    Hi,
    I am using oracle apex 4.0,database11g and i upgraded the apex flash chart to #5.1.3, also i am using the partial page refresh (html_PPR_Report_Page) in every 5 sec time interval.
    However after about 5 seconds the charts dissapear and never come back unless you manually refresh the browser.
    Could y please suggest.
    Regards,
    Saroj

    Like junkyardheart, mine cleared up.  After talking with tech support for 2 to 3 hours trying all kinds of things they opened a ticket to have a technician checkout the local cell tower.  The next day tech support called me and I told them it was worse.  Then they had started looking at my past reports on "Mark the Spot" app and open several more tickets and had a crew checkout the area.
    I received a call two days later and they had two bad cell sites.  With the next day being Saturday they had the whole weekend scheduled as an outage to fix the problems.  By noon on Saturday everything was great.
    I even checked out my download speed using a few speed apps and I was pulling 2-3 Mbps down and pushing 1+ Mbps up.
    I think the update exposed a serious problem that had existed for a while.

  • Flash Chart with Asynchronous Update

    Hello all,
    I'm trying to use the Asynchronous Update option of the chart's, but in different version of APEX it doens't work.
    In my local DB I have APEX v. 4.0.1.00.03 and it works fine, loads the graphic and keep updating, but in the server the graphic is loaded but when it goes refreshing the chart disappear instead, the version is 4.0.0.00.46 .
    Both charts have the same configuration and the standard query:
    SELECT sum(case when COMM is null
                         then 0
                    when COMM = 0
                         then 0
                    else 1
                    end) value,
           count(*) max_value
                FROM EMP Something I did noticed that is different at the source code is that one have the function apex_RefreshFlashChart and the other have apex_RefreshChart Is it really related to the version, or am i missing something?
    Thanks,
    Alan Martini.

    Hi,
    it was a bug, corrected in patch 4.0.1 (bug 9868860), see http://www.oracle.com/technetwork/developer-tools/apex/application-express/401-patch-166923.html#BABJCAFA.
    It's why it don't works with APEX 4.0.0.

  • Setting "Omit Label Interval" on 2D Line Flash Chart

    Hi,
    i have a 2D Line Flash Chart showing a few values or many values. (depending on the selected interval, eg. minutes, hours, days, week, months ..)
    Unfortionatly if the flash chart has to show many values, the labels cannot be read (because they are too many)
    In Section "Display Settings" i can set "Omit Label Interval", but i need to set this property dynamically - how can i do this?
    kind regards
    Günther

    Hi Günther,
    I used a similar example a while ago unfortunately for you I started the refresh when I clicked on a button:
    Page header:
    &lt;script language="javascript" type="text/javascript">
    function fnc_UpdateChart ()
      var v_region_id = $v('P1_REGION_ID').substr(1);
      apex_RefreshChart ($v('pFlowStepId'),v_region_id , navigator.language );
    &lt;/script>Region footer (from your chart region):
    &lt;script language="JavaScript" type="text/javascript">
    $s("P1_REGION_ID", "#REGION_ID#" );
    &lt;/script>I had some trouble with the IE where the update didn't worked? I don't know if you will experience the same.
    You would now need to integrate a timer. I made an example with an IRR: [http://apex-at-work.blogspot.com/2009/08/automatic-refresh-of-interactive.html|http://apex-at-work.blogspot.com/2009/08/automatic-refresh-of-interactive.html]
    It's a beginning. Hope it helps.
    Tobias

  • Apex 4 - Flash Chart - How to open link in same page

    Hi,
    I need help in apex flash chart development. I want to open link in same page. Currently it open in new window with existing page intact
    I have created a flash chart.
    Below are setting
    Chart Type 2D line
    Series Type : Line
    Series siurce : sql query
    elect '?p=&APP_ID.:2:&APP_SESSION.::::P2_ORACLESID,P2_CAP_DATE:&P15_ORACLESID.,'||capture_date link,
    capture_date,
    round(sum(TOTAL_MB)) "Total_MB" ,
    round(sum(USED_MB)) "Used_MB" ,
    round(sum(FREE_MB)) "Free_MB"
    from SST.TABLESPACE_USAGE_HIST
    where DBNAME = :P15_ORACLESID
    group by capture_date
    order by capture_date
    Problem: when I run this page, chart is displayed. Now if I click on the series value of chart, it opens page ( '?p=&APP_ID.:2:&APP_SESSION.::::P2_ORACLESID,P2_CAP_DATE:&P15_ORACLESID.,'||capture_date link) It opens page 2 in new window. I want it to open in same window. Am I missing something ? Is this possible ? Is there anything I can change to achive this functionality
    Please help

    Hi All,
    I have an issue with Anychart link, can you please help me.
    1. I have created HTML region in a page with
    <div id="sampleClick">
    <div id="sample1">
    <script type="text/javascript" language="javascript">
    function ChartSample()
    var ChartSample = new AnyChart('/i/flashchart_v5/swf/AnyChart.swf');
    ChartSample.width = "500";
    ChartSample.height = "400";
    var ChartData = new htmldb_Get(null,$x('pFlowId').value,
    'APPLICATION_PROCESS=FINANCE_020',0);
    gReturn = ChartData.get();
    // prompt("xml",gReturn);
    ChartSample.setData(gReturn);
    ChartSample.write("sample1");
    ChartSample();
    </script>
    2. Then created Application process with "On Demand Run this application process when requested by a page process." in PL/SQL Anonymous block
    select 'f?p=&APP_ID.:136:&APP_SESSION.::::P33_ID:' || YEAR link,DECODE(period,1,'JAN',2,'FEB',3,'MAR',4,'APR',5,'MAY',6,'JUN',7,'JUL',8,'AUG',9,'SEP',10,'OCT',11,'NOV',12,'DEC')||'-'||year "MONTH",round(SUM(ytd_revenue)/1000000,2) YTD_REV from t_tc_qpcq2052
    where cntry='IND' and category='20'
    GROUP BY year, period
    ORDER BY YEAR, period
    I am able to see the chart, but I am not able to open or pass the value from one page to another page when I click the bar chart.
    Can you please help me on this.
    Thanks in Advance.

  • How can I display more than 15 rows in a stacked 3D horizontal flash chart

    It seems I cannot display more than 15 rows at a time in a stacked 3D horizontal flash chart.
    Any ideas?
    Thanks, Pierre

    The default history length of a chart is 1024. To make it longer is a right click option.

  • How to limit data range in a Line chart with Time Refresh Control

    Hi All,
    I have a Line chart with Time Refresh Control and I would like to make some constraints to this navigation.
    For example, I would like to limit the user to navigate in a data range of 8 hours.
    Is this posible?
    Thanks in advance

    Hi Pedro,
    as far as I know, this is not possible using the time controls on an iChart. However, you may have some success by using your own time controls which call JavaScript methods exposed by the applet.
    For example, you could begin by hiding the time and calendar buttons on an iChart, and creating some buttons of your own. For instance, to set the start date of a query (and thus the start date of the iChart using the query), you can use the following:
    document.getElementById("appletID").getQueryObject().setStartDate(<date string>);
    Using code like the above (look into the xMII script assistant and documentation), you should be able to build time controls which satisfy your requirements. The exact format of <date string> in the sample above will depend on the date format defined in the query template this script calls.
    Hope this helps,
    Sascha

  • How to turn off scrollbars in Flash chart legend

    I recently migrated an Apex 3 app over to Apex 4. In the process I upgraded all of the Flash charts as well. Now, I get vertical scrollbars in some of the legends.
    How can I turn those scrollbars off? I don't see any settings in the UI and I haven't been able to work out the proper arguments in the XML to do it manually.
    Thanks for any pointers!
    --jb                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    in ipad

  • Flash Chart Legend

    I have built a 2D Line Flash chart with 6 series. My problem is that the legend shows the word "Value". Does anyone know how to make the legend display the series name instead.
    Jeff

    Varad,
    Thank you for your reply but your answer does not appear to be the solution I need. This SQL statement below used in a SVG Chart yields a legend using the series name. The same SQL statemnet used in a Flash Chart yields "Value" as the series name. Why?
    <pre>
    SELECT NULL link,
    to_char (minipay_detail_vw.event_dt, 'YYYY, MM') AS label,
    sum (minipay_detail_vw.contract_pay_amt) AS value
    FROM [email protected]
    WHERE minipay_detail_vw.object_class_cd = '018'
    AND to_char (minipay_detail_vw.event_dt, 'YYYYMM') <
    to_char (sysdate, 'YYYYMM')
    AND financial_organization_cd IN
    ('1650', '1655', '1660', '1665', '1670')
    AND (:p337_fy = '%null%' OR minipay_detail_vw.fiscal_year = :p337_fy)
    GROUP BY to_char (minipay_detail_vw.event_dt, 'YYYY, MM')
    ORDER BY to_char (minipay_detail_vw.event_dt, 'YYYY, MM')
    </pre>
    Jeff

  • Flash Chart Legend Problem

    Hi,
    Im having a problem with my flash chart legends in Apex3.0.
    I have changed the name of the Series to what i want to appear in my legend - however the legend just shows "Value" for all my Series.
    Does anyone else have this problem?
    Cheers,
    Immanuel

    Hello,
    I need a legend like this
    No of Clicks('000)
    If i give l" No of Clicks('000)" as column alias, chart says Error :No chart data available.
    If i give "No of Clicks('000')" or "No of Clicks(''000)" as column alias in the query, it displays the correct legend..
    Would anybody tell me how to show the legend like this
    No of Clicks('000)
    Regards,
    Archana

  • The flash chart Link not opening in oracle Apex 4.1

    I have created a flash chart (Pie chart ) on the latest version 4.2.
    Everything is workinfine when I have created a hidden item and associated a computation to it and added that in custom color option in chart attributes
    I am able to customize this again in this version
    But When I have done same thing in Apex 4.1
    I am able to see the output .but When I try to change the color and click on chart attributes it throws an error showing no data found
    Kindly help me in solving this error .

    Hi,
    To assist in resolving your issue, could you please outline the steps you've carried out in your 4.1 environment? Also, could you please confirm exactly what version of APEX you are referring to - 4.1.0 or 4.1.1?
    Regards,
    Hilary

Maybe you are looking for

  • Can I use 1333GHZ memory in a machine that uses 1066GHZ memory

    Can I use 1333GHZ memory in a machine that uses 1066GHZ memory

  • How to display Success Message on the Left side of Screen

    I am displaying a Process Success Message after the ApplyMRU process, *#MRU_COUNT# row(s) updated*. By default, this message is displayed at the center of the screen. I would like to display this message at the left hand side of the screen. I am usin

  • App are not opening ...

    Hi, I just upgraded my iphone to 2.0.1 , since then, when I'm trying to open apps that I downloaded from the apple store, it simply opens and shut down by itself. is there anything I can do to solve this problem ? Thanks for answering my question. ##

  • Question on sun warranty start of coverage

    hi, if my hardware warranty on a server expires on April 1 and i renew it by May 1, when would the hardware warranty starts? Arpil 1 or May 1? i'm confused because normally when we renew a service warranty, the warranty period would start at the time

  • Swing rendering from server

    Hi, Is anyone aware of any projects/toolkits that help with server initated rendering of swing objects at client side i.e server tells client which components to draw, which listener to hook to those components etc? Thanks.