Slow flash chart loading in Apex due to SQL performance!

I am very new with Oracle. I have an application with lots of flash charts which are mostly very slow to load. My table size is over 10 million and growing. I think that most of my problems come from the SQL quries that I use, but do not understand most of the techniques I find in internet to tune it. Here is one example:
select null,c.mydate label,c7.cnt "Rattle",c8.cnt "Climb",c9.cnt "Kick",c1.cnt "Footstep",c2.cnt "Vehicle",c4.cnt "Start"
from (select unique TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate,TO_CHAR(RECORDDATE,' yyyy-mm-dd HH24:MI') as sort from SCOTT.SCDATABASE4 WHERE RECORDDATE> TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND ID = :P2_ID AND RECORDDATE< TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS') AND (CLASS in (7,8,9,1,2,4))) c
left join
(select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate, count(1) cnt from SCOTT.SCDATABASE4 WHERE RECORDDATE> TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND ID = :P2_ID AND RECORDDATE< TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS') AND CLASS = 7 group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')) c7 on (c.mydate = c7.mydate)
left join
(select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate, count(1) cnt from SCOTT.SCDATABASE4 where RECORDDATE> TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND ID = :P2_ID AND RECORDDATE< TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS') AND CLASS = 8 group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')) c8 on (c.mydate= c8.mydate)
left join
(select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate, count(1) cnt from SCOTT.SCDATABASE4 where RECORDDATE> TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND ID = :P2_ID AND RECORDDATE< TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS') AND CLASS = 9 group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')) c9 on (c.mydate = c9.mydate)
left join
(select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate, count(1) cnt from SCOTT.SCDATABASE4 WHERE RECORDDATE> TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND ID = :P2_ID  AND RECORDDATE< TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS') AND CLASS = 1 group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')) c1 on (c.mydate = c1.mydate)
left join
(select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate, count(1) cnt from SCOTT.SCDATABASE4 WHERE RECORDDATE> TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND ID = :P2_ID AND RECORDDATE< TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS') AND CLASS = 2 group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')) c2 on (c.mydate = c2.mydate)
left join
(select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate, count(1) cnt from SCOTT.SCDATABASE4 WHERE RECORDDATE> TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND ID = :P2_ID AND RECORDDATE< TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS') AND CLASS = 4 group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')) c4 on (c.mydate = c4.mydate)
order by c.sort I have oracle 11g working with Apex 4.1. I used the SQL workshop's explain plan:
Operation     Options     Object     Rows     Time     Cost     Bytes     Filter
Predicates *     Access
Predicates
SELECT STATEMENT
          66     703     58,573     9,966          
SORT
ORDER BY          66     703     58,573     9,966          
HASH JOIN
RIGHT OUTER          66     703     58,572     9,966          "C"."MYDATE" = "C1"."MYDATE"(+)
VIEW
          1     101     8,358     22          
HASH
GROUP BY          1     101     8,358     18          
FILTER
                              TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
TABLE ACCESS
FULL     SCDATABASE4     1     101     8,357     18     "CLASS" = 1 AND "ID" = TO_NUMBER(:P2_ID) AND "RECORDDATE">TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND "RECORDDATE"<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
HASH JOIN
OUTER          66     603     50,214     8,514          "C"."MYDATE" = "C2"."MYDATE"(+)
HASH JOIN
OUTER          66     503     41,853     7,062          "C"."MYDATE" = "C4"."MYDATE"(+)
HASH JOIN
OUTER          66     402     33,494     5,610          "C"."MYDATE" = "C9"."MYDATE"(+)
HASH JOIN
OUTER          66     302     25,135     4,158          "C"."MYDATE" = "C8"."MYDATE"(+)
HASH JOIN
OUTER          66     202     16,777     2,706          "C"."MYDATE" = "C7"."MYDATE"(+)
VIEW
          66     102     8,418     1,254          
HASH
UNIQUE          66     102     8,418     1,188          
FILTER
                              TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
TABLE ACCESS
FULL     SCDATABASE4     66     102     8,417     1,188     "ID" = TO_NUMBER(:P2_ID) AND ("CLASS" = 1 OR "CLASS" = 2 OR "CLASS" = 4 OR "CLASS" = 7 OR "CLASS" = 8 OR "CLASS" = 9) AND "RECORDDATE">TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND "RECORDDATE"<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
VIEW
          1     101     8,358     22          
HASH
GROUP BY          1     101     8,358     18          
FILTER
                              TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
TABLE ACCESS
FULL     SCDATABASE4     1     101     8,357     18     "CLASS" = 7 AND "ID" = TO_NUMBER(:P2_ID) AND "RECORDDATE">TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND "RECORDDATE"<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
VIEW
          1     101     8,358     22          
HASH
GROUP BY          1     101     8,358     18          
FILTER
                              TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
TABLE ACCESS
FULL     SCDATABASE4     1     101     8,357     18     "CLASS" = 8 AND "ID" = TO_NUMBER(:P2_ID) AND "RECORDDATE">TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND "RECORDDATE"<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
VIEW
          1     101     8,358     22          
HASH
GROUP BY          1     101     8,358     18          
FILTER
                              TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
TABLE ACCESS
FULL     SCDATABASE4     1     101     8,357     18     "CLASS" = 9 AND "ID" = TO_NUMBER(:P2_ID) AND "RECORDDATE">TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND "RECORDDATE"<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
VIEW
          15     101     8,359     330          
HASH
GROUP BY          15     101     8,359     270          
FILTER
                              TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
TABLE ACCESS
FULL     SCDATABASE4     15     101     8,358     270     "CLASS" = 4 AND "ID" = TO_NUMBER(:P2_ID) AND "RECORDDATE">TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND "RECORDDATE"<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
VIEW
          49     101     8,361     1,078          
HASH
GROUP BY          49     101     8,361     882          
FILTER
                              TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')     
TABLE ACCESS
FULL     SCDATABASE4     49     101     8,360     882     "CLASS" = 2 AND "ID" = TO_NUMBER(:P2_ID) AND "RECORDDATE">TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS') AND "RECORDDATE"<TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')
From this I gather that the full database access is a bad thing, but do not know how to prevent it. I would appreciate any help and sorry for the long post!!

End Of (rather busy) Week: Friday evening but your query
select null,c.mydate label,c7.cnt "Rattle",c8.cnt "Climb",c9.cnt "Kick",c1.cnt "Footstep",c2.cnt "Vehicle",c4.cnt "Start"
  from (select unique
               TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate,
               TO_CHAR(RECORDDATE,' yyyy-mm-dd HH24:MI') as sort
          from SCOTT.SCDATABASE4
         WHERE RECORDDATE > TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')
           AND ID = :P2_ID
           AND RECORDDATE < TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')
           AND (CLASS in (7,8,9,1,2,4))
       ) c
       left join
       (select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate,
               count(1) cnt
          from SCOTT.SCDATABASE4
         WHERE RECORDDATE > TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')
           AND ID = :P2_ID
           AND RECORDDATE < TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')
           AND CLASS = 7
         group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')
       ) c7
    on (c.mydate = c7.mydate)
       left join
       (select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate,
               count(1) cnt
          from SCOTT.SCDATABASE4
         where RECORDDATE > TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')
           AND ID = :P2_ID
           AND RECORDDATE < TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')
           AND CLASS = 8
         group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')
       ) c8
    on (c.mydate= c8.mydate)
       left join
       (select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate,
               count(1) cnt from SCOTT.SCDATABASE4
         where RECORDDATE > TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')
           AND ID = :P2_ID
           AND RECORDDATE < TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')
           AND CLASS = 9
         group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')
       ) c9
    on (c.mydate = c9.mydate)
       left join
       (select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate,
               count(1) cnt
          from SCOTT.SCDATABASE4
         WHERE RECORDDATE > TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')
           AND ID = :P2_ID 
           AND RECORDDATE < TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')
           AND CLASS = 1
         group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')
       ) c1
    on (c.mydate = c1.mydate)
       left join
       (select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate,
               count(1) cnt
          from SCOTT.SCDATABASE4
         WHERE RECORDDATE > TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')
           AND ID = :P2_ID
           AND RECORDDATE < TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')
           AND CLASS = 2
         group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')
       ) c2
    on (c.mydate = c2.mydate)
       left join
       (select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate,
               count(1) cnt from SCOTT.SCDATABASE4
         WHERE RECORDDATE > TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')
           AND ID = :P2_ID
           AND RECORDDATE < TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')
           AND CLASS = 4
         group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI')
       ) c4
    on (c.mydate = c4.mydate)
order by c.sortseems just
select null,
       c.mydate label,
       case when gc.CLASS = 7 then gc.cnt end "Rattle",
       case when gc.CLASS = 8 then gc.cnt end "Climb",
       case when gc.CLASS = 9 then gc.cnt end "Kick",
       case when gc.CLASS = 1 then gc.cnt end "Footstep",
       case when gc.CLASS = 2 then gc.cnt end "Vehicle",
       case when gc.CLASS = 4 then gc.cnt end "Start"
  from (select unique
               TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate,
               TO_CHAR(RECORDDATE,' yyyy-mm-dd HH24:MI') as sort
          from SCOTT.SCDATABASE4
         WHERE RECORDDATE > TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')
           AND ID = :P2_ID
           AND RECORDDATE < TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')
           AND (CLASS in (7,8,9,1,2,4))
       ) c
       left join
       (select TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI') as mydate,
               CLASS,
               count(1) cnt
          from SCOTT.SCDATABASE4
         WHERE RECORDDATE > TO_TIMESTAMP(:P2_DATE,'DD-MON-YYYYHH24:MI:SS')
           AND ID = :P2_ID
           AND RECORDDATE < TO_TIMESTAMP(:P2_DATE2,'DD-MON-YYYYHH24:MI:SS')
           AND CLASS in (7,8,9,1,2,4)
         group by TO_CHAR(RECORDDATE,'MM/DD/YY HH24:MI'),CLASS
       ) gc
    on c.mydate = gc.mydate
order by c.sortRegards
Etbin

Similar Messages

  • Can't get working flash chart through SSL (Apex 4.0)

    Flash chart does not works in Apex 4.0 using ssl and Apex Listener (on glassfish v3 ). In firefox it just writes "No data found", in google chrome it writes "error loading file http://.../apex/apex_util.flash?..."
    Any help will be appreciated, thanks.

    Hello Emma I presume your in the UK.
    In the UK PPPoA is the standard PPPoE is not supported by many ISP's.
    On your Mac just use DHCP in your Network settings. Do not use PPPoE.
    Then login to your router's web configuration page. http://192.168.0.1 or http://192.168.1.1. Admin and Password are the usual login details for netgear routers.
    use the following details
    PPPoA
    VC-Mux
    Chap authentication
    vpi and vci are 38,0
    and of course use your isp username and password.
    Post edited. I just noticed you had already figured out the correct details.
    Message was edited by: Tim Haigh

  • 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

  • Very slow Flash Chart

    Hello;
    I have a Flash Chart, Chart Type 2D Line, that is very very slow and times out. I have two Lines on this chart. When I run the SQL in SQLPlus or TOAD it runs in under 1 second. I am not sure what the problem is.
    I am using:
    Application Express 3.0.0.00.20

    Hi Marco;
    This one page has four Flash Charts total. The other three are fine. No DB Links. It may have something to do with massive (300 per second) updates and inserts into the table (Monitoring this is the point of the chart). However when I run the SQL in TOAD or SQLPLus ... very fast ... No Problems.

  • Integration with other flash chart product

    Hi,
    I am currently working on an APEX site development that utilize flash charts in some reports. However, the AnyChart product that is integrated with APEX is not sufficient in achieving the layout we desire.
    My supervisor is interested in another flash chart product called "FusionCharts". I would like to ask where would I find manual / instructions on how to create new components or alter the existing flash chart component in APEX so that FusionCharts can be used instead of the existing AnyChart.
    If anyone can share their integration experience of another flash chart product with APEX, I would greatly appreciate it.
    Thanks in advance for the help,
    Nelson

    Hi Nelson,
    You can't replace the current Anychart with FusionChart, but you can upgrade to a newer version of Anychart if you want.
    If you want to integrate FusionCharts, you add javascript and a flash file to your page and provide xml (for ex from a process) to it. I believe Scott Spendolini had these steps in his presentation of ODTUG, which you can download from that site.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • How to save a Flash Chart to a local file

    We created a Flash Chart page with Apex 3.1.2. After this 2D line Flash Chart displayed on the screen, is there a way to save it to the user's local machine? So they can view or print the chart they saved later on.
    I have found some info. on anychart.com, http://www.anychart.com/products/anychart/docs/users-guide/index.html?SaveAsImage.html. But I don't understand how to implements those steps in Apex and/or on the localhost running APEX.
    Thanks.
    -Michele

    Michele,
    Method 1:
    If you goto any test interactive report page in your apex application and from the actions menu, choose the chart option, pick the type of chart and the label and value column, click apply to display the chart.
    You can then right click the chart to show the version being used and the 'save to image' option will be there if it is version 4.
    Method 2:
    In anychart 3.x, each type of chart has a different flash file to reference from the apex page.
    In anychart 4.x, each type of chart references the same flash file, they were combined into one for ease of deployment, etc.
    This flash file is normally located in the apex images structure /images/flashchart/swf/AnyChart.swf
    Your path to images may differ. If you have this file, then version 4 is already installed
    Regards,
    Blackstone

  • Flash Chart Legend Not In Capitals

    I have created a flash chart based upon a function returning sql. The chart displays fine but the legend column names for some reason are converted to initial capitals from all originally being in capitals, eg "SERIES" now equals "Series". I really need the legend to display all capitals as it is in the sql.
    For example:
    The function returns a string similar to this .......
    select NULL as "LINK",
    WEEK as "LABEL",
    VALUE1 as "VALUE1,
    VALUE2 as "VALUE2"
    from MY_TABLE
    order by WEEK
    When the flash chart is rendered on the page the legend displays the two series values as "Value1" and "Value2". Somehow the chart ignores the capital case of the column names and applies initial capitals only over riding the original case.
    There appears to be no over ride for the legend case so where is it coming from ? It shouldn't make any difference but the chart type is a "3D column" style. Not sure if this is a XML question or maybe a Flash Player issue.
    Regards,
    Jack.

    I had the same problem.
    To fix it:
    1. Find a font that is strictly caps. I used Felix Titling.
    2. Edit the flash chart & under the chart attributes set USe Custom XML to yes.
    3. Scroll down almost to the bottom and find the legend tag.
    4. In the font tag for the legend substitute the font you chose.
    This will capitalize ALL the letters in the legend.
    I don't know how to selectively capitalize letters.
    Bob Richards

  • Flash charts are not displaying on APEX 4.2 - using HTML5 works fine

    Hi
    I have a problem with flash charts on APEX 4.2.
    When I try to prepare simplest chart (Flash) I don't see any charts. on IE8,9,10 I see empty region and page is still loading. Using FF page is still loading but I don't see even empty frame/place for chart.
    Other regions are visible but page is still loadng (on status bar I see message: "waiting for respons and page URL).
    When I switch to HTML5 charts everything works fine (on newer browsers IE10,FF)
    How to debug above?
    Thank you for any help.

    Hi,
    My Apex listener version is 1.1.4.195.00.12

  • Detecting Loaded Flash Chart

    I have a page with a report region and a flash chart. I created a printer friendly template for this and in it included some script to print the page using the onload event. The problem is that when the print dialog box comes up the chart is sometimes not yet rendered so the printout shows the "Loading..." gif instead of the chart.
    Is there a way to capture or test for the end of the loading of the flash chart?
    Thanks,
    Greg
    PS Apex 3.0 with users all on IE6

    Hi Greg,
    Could you ever print a chart, just from the browser?
    In my understanding this is not yet possible in the standard APEX implementation. Anychart 4.2 is a lot better in this, but that's not yet in APEX 3.0.
    However if you think it's just the loading, why not have a button on the page that does the print? So you're sure it's loaded? It won't be one click like you're trying to implement, but 2 click.
    Alternatively I'm thinking about pausing the javascript or working with 2 pages. Like a master and detail and you load the chart in the detail and print from the master.
    I look forward to your reply.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • "loading data. please wait." message on flash charts after releasing to 3.1

    We are experiencing "loading data. please wait." message on all flash charts after exporting our app from dev (3.1.2) where all of the charts work fine and importing it into prod (3.1.2) where the message occurs.
    A work-around has been found by resetting the #HOST# variable in charts' regions' source code
    from:
    XMLFile=#HOST#apex_util.flash?
    to:
    XMLFile=<physical URL of the production app>apex_util.flash?
    Obviously this is an ugly work-around and requires a lot of work every time we do a release because it gets overwritten back to #HOST# with ever import (we have quite a few flash charts).
    Any suggestions, or rumors when this "bug" will be fixed?
    Thank You
    Boris

    Hello,
    Take a look at this thread and see if it addresses your problem -
    Flash chart fails through proxy
    BTW it's not really a 'bug' ;)
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • 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.

  • 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

  • Apex 3.1 and Custom Flash Charts

    I am having difficulty getting to the point where my custom flash charts can be displayed. I have Oracle 10.2, over OHS to Apex 3.1. I cannot post any of the config files or code here because it is a different network, so I realize it will be hard to troubleshoot; and I apologize in advance.
    I would use the canned Flash charts, but my application displays data much like MS Outlook's multi-user calendar does. The chart has to be color coded, similar to Outlook's Busy vs Tentative etc. It has to show multiple events at various times, including overlapping times. And it has to handle schedules for multiple people. Lastly, there are of course gaps in the schedule, because no day is comprised entirely of meetings. That is why I felt I had to do it manually.
    I wrote XML/SVG code to do this previously, with HTML DB 1.5, and it worked fine. But Flash is the way we are going now, and I can't use SVG anymore. (Besides, Adobe says SVG will no longer be supported next year.)
    I followed the thread of April 07 in which MAdelfio posted suggestions, but I can't get it right. I did everything listed except I never included the <data>...</data> code, because I am not sure where it goes. I have a custom written stored proc, exactly like in the thread, and I pass it all the args that apex_util.flash wants. I get a malformed XML message when I try to display the chart. That seems like it should be a very straight forward error, but I can't figure out where to look. I have been using 1.5 for about a year, and last month upgraded to 3.1.
    Any suggestions on how to troubleshoot this? Or, failing that, any simple examples that display Flash charts in which the code was generated by a stored procedure?
    Thanks,
    Michael

    I'm sorry about not being able to provide all the info you need. Since it is on a totally separate network, with no access to the outside world, the only way I can do it is to print and retype everything. So I was hoping that someone could just provide suggestions as to where to look rather than providing answers. I understand that it is impossible for you to solve my problems, especially when you have been given no real information. And I don't want to keep you guessing -- I'd love to be able to just show everything and ask for help; I just can't.
    Anyway, I am trying to use only those facilities provided with Apex. I do not have any 3rd party tools except for Perl. I am using the standard shockwave flash plugin for Mozilla. The way I did it with SVG was to create a stored procedure that generated an XML file. I put a button on the page that ran the stored proc and then redisplayed the page, with an HTML region. That region included an iframe, where the source was a perl script that merely regurgitated the SVG script (for some reason I could not get the iframe to accept XML as a source, so I created send_svg.pl, which merely outputted the named SVG file).
    The format I followed was in this thread: Re: Custom Flash Charts
    I even created a replacement proc for APEX_UTIL.FLASH with the exact output as the thread, knowing that even if it worked I'd still have a ton of work making it produce my chart. But once I can get the infrastructure right, I feel I can write the flash XML.
    Maybe the easiest thing is to scan that thread I referenced and tell me if it is still accurate? That is, could anything have changed in 3.0.1, or should it still work? It is possible, maybe even likely, that I made a mistake retyping all that stuff, so maybe just verifying that it SHOULD work is a good start.
    Thanks again, and sorry again.
    Michael

  • APEX 3.0 - flash chart using 'Omit label interval'- missing lines in legen

    Hi,
    we are using APEX 3.0 on XE as development database.
    Using the option "omit label interval" in the flash chart configuration, the legend will show the entries the same way as the x-axis.
    For example:
    setting omit label interval to 23 to get only one entry per day on the x-axis (we have one value for every hour of the day and want to display the chart on monthly base). My chart containing 2 series will show only the legend entry for the first serie.
    How can I display the second one ?
    Greetings
    Marco

    Marco,
    Unfortunately, that's a bug in APEX 3.0. The 3.0.1 patch set will include a fix for it.
    Marco

  • 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.

Maybe you are looking for

  • How can I get my iPod Touch out of Recovery?

    I've had my iPod Touch 4G for almost five months now. Since my laptop is very slow, I just buy all of my music and apps on my iPod. I actually take the time to transfer everything about once a month. Yesterday I was going to transfer my purchased ite

  • Acrobat Toolbar in Lotus Notes 8.5

    Does anyone know how i can get the acrobat toolbar to show up in Lotus Notes 8.5. I know this has been an issue in the past and I have already tried the steps of manually adding the add-ons into the configuration files for Notes but that doesn't seem

  • How do you set/find the directory path for /i/

    Searching the forum, I found one note that indicated this was set in MARVEL.CONF (since I'm running 2.0, presumably DADS.CONF). However, looking at the DADS file for my install, I don't see anything resembling a directory mapping. What would the synt

  • Disc ejects before burn finished

    I am burning 30 copies of a graduation through iDVD. The movie is over two hours going on a dual layer dvd. Around one-third of the time the dvd will eject anywhere from 1 - 30 minutes before the burn in complete. I have tried stopping and waiting a

  • LocalizedIllegalStateException: getSession was called outside of a valid co

    I've encountered the error: com.bea.wlw.netui.util.exception.LocalizedIllegalStateException: getSession was called outside of a valid context. while executing a JSP page with the offending line: <netui-data:repeater dataSource="{pageFlow.compositeVO.