Refresh Viz Charts

Hi,
I've a split App and I want to refresh the a viz chart in the detail view by selecting a different item of the master view.
My viz chart is built by calling the function showCharts of the detailController.
I've tried to refresh the model of the vizFrame but it doesn't work. Here is the code of the function in the master controller:
handleListSelect : function(evt){
  var vizFrame = _grab('idVizFrameColumn');
  if(vizFrame) {
     vizFrame.getModel().refresh(true);
It seems that the function showCharts of the detailController should be called again, right?
How can I handle it?
Thanks in advance.
Best,
Matt

Hi,
I've a split App and I want to refresh the a viz chart in the detail view by selecting a different item of the master view.
My viz chart is built by calling the function showCharts of the detailController.
I've tried to refresh the model of the vizFrame but it doesn't work. Here is the code of the function in the master controller:
handleListSelect : function(evt){
  var vizFrame = _grab('idVizFrameColumn');
  if(vizFrame) {
     vizFrame.getModel().refresh(true);
It seems that the function showCharts of the detailController should be called again, right?
How can I handle it?
Thanks in advance.
Best,
Matt

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

  • How do I refresh a chart in Pages copied from Numbers?

    How do I refresh a chart in Pages (v.5) copied from Numbers (v.3)?  After updating and saving the chart in Numbers, I get no "refresh" button in Pages when I click on the chart.  Or has this very useful feature been eliminated?

    It isn't as easy as it should be.  Here is a way to get a good copy of it:
    Print the page that has the chart but choose  "Open PDF in Preview" instead of sending it to your printer.
    In Preview, using the rectangular selection tool, select the chart and whatever other elements you might want to include (title, legend, anything else nearby).
    Copy
    New from Clipboard to create a new document from it. Or you can paste it in another app.
    This should give you an exact copy of what you had in Numbers and it will not be pixelated.

  • Partial Refresh for Chart Region

    Hi all,
    I am using Application Express 4.0.1.00.03.
    I need to know whether partial refresh is available for Flash Charts or not?
    If yes how?
    Thanks in advance...
    Edited by: jyothi on Aug 17, 2011 9:06 PM

    Hi,
    There is undocumented JavaScript function apex_RefreshChart for refresh flash chart.
    Regards,
    Jari

  • Dynamically refresh Flash chart in 4.2

    In my Apex 4.2 app I have a chart region that I want to refresh whenever a radio button group has changed.
    My radio button group P2_RG_DEPTNO returns static values 10 and 20.
    I created a dynamic action on the group to refresh the chart region when the value has changed.
    The chart series uses the value or the radio group in the query:
    select null, ename, sal from emp
    where deptno = :P2_RG_DEPTNO
    order by sal descHowever, the chart never refreshes.
    How can I refresh just the chart and have the series query re-execute, using the new value of P2_RG_DEPTNO?
    Workspace: cmr
    Username: [email protected]
    Pwd: cmrtest
    App ID: 16120
    Page: 2
    Thanks,
    Christoph

    Hi I checked your application.
    You had DA defined on P2_RG_DEPTNO but in your chart series query you referenced P2_X2 item. This is why the chart was not being refreshed.
    Change that to P2_RG_DEPTNO and check.
    I changed your chart query.
    Please check now.
    Thanks.
    Mehabub

  • Disable sap.viz Charts Tooltip/Animation

    Hey guys,
    how can I disable the Tooltip resp. Animation of a sap.viz chart?
    Btw: Is there any good tutorial/introduction in the sap.viz library?
    BR
    Christian

    Got it. Disable different things in sap.viz in an XMLView like this:
        <viz:Line>
    <!-- disable tooltip -->
          <viz:toolTip>
            <vizTypes:Tooltip visible="false">
            </vizTypes:Tooltip>
          </viz:toolTip>
    <!-- disable axis labels -->
          <viz:xAxis>
            <vizTypes:Axis>
              <vizTypes:label>
                <vizTypes:Axis_label visible="false">
                </vizTypes:Axis_label>
              </vizTypes:label>
            </vizTypes:Axis>
          </viz:xAxis>
    <!-- disable loading animation and markers -->
          <viz:plotArea>
            <vizTypes:Line>
              <vizTypes:animation>
                <vizTypes:Line_animation dataLoading="false">
                </vizTypes:Line_animation>
              </vizTypes:animation>
              <vizTypes:marker>
                <vizTypes:Line_marker visible="false">
                </vizTypes:Line_marker>
              </vizTypes:marker>
            </vizTypes:Line>
          </viz:plotArea>
    </viz:Line>
    Data Update is not animated anymore either :/
    BR
    Chris

  • Viz Charts: Display Unit on Axis

    Hi Friends,
    I am creating a Column chart using Viz charts. I am not bale to make the units displayed next to axis. For example: USD or CMs, KMs etc. How can I get that?
    regards
    Krishna

    Hi lucky,
    As Visakh posted earlier, we can use format convert function in expression to display the proper format as we need.
    Alternatively, we can set the data Number property to get the corresponding format. Please refer to the screenshot below:
    If you have any questions, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Where can I download the sap.viz chart library?

    Hi,
    I develop a web software with using sap.ui.communs, sap.ui.table, sap.ui.core and sap.viz chart libraries.
    I found where I can download sap.ui.communs, sap.ui.table, sap.ui.core libraries to perform my software (OpenUI5 - Download)
    But there's no sap.viz chart library... so for the moment I have to use in my page html this javascript code:
    src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core-nojQuery.js"
    I would like to use a local src and not a online src... so where can I download the sap.viz chart library (without jquery)?
    Best regards
    Yannick

    Hi Yannick
    UInfortunately, this is posted in an incorrect SCN Topic Space. Before posting, always check the Overview of the Sapce to see what it covers. E.g.; this Space:
    To find the best Space for your query, please see the SCN Site Index
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • 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

  • Refresh individual charts at different intervals(Urgent)

    Hi All,
        I have a screen with 4 charts. But I want to refresh each of the charts after a particular duartion.
    For example the first chart should be refreshed after 1 minute.
    The second chart should be replaced after 30sec...... And so on.........
    Please help me to do this.
    Thanks

    Hi All,
        I have a screen with 4 charts. But I want to refresh each of the charts after a particular duartion.
    For example the first chart should be refreshed after 1 minute.
    The second chart should be replaced after 30sec...... And so on.........
    Please help me to do this.
    Thanks

  • Automatic refresh of charts

    Gentlemen,
    The main page of my application has two charts. These charts display turnovew data between the selected time periods.
    Two-two date pickers are linked to each chart, so the user can select the desired time period, afterwards he can see the turnover in that period.
    (There are default values set for these charts also)
    The problem is, that when the the main page is FIRST displayed (at first run), the charts are not displayed automatically, however the date pickers have values (set by default).
    After clicking on the GO button the charts are able to be seen, though.
    Is there a solution for automatic refresh of this page (and the) without clicking on the GO button ?
    Thank you

    No. Reading list is empty. I also tried clearing all Safari data files but it didn't change anything.

  • VIZ charts....help please

    Hi All,
    I have created some charts which will open inside the dialog boxes....
    When we click the button to open the dialogue box it is popping up but with blank content, once we just drag and touch the edge of the box chart appears in front.
    It is strange...:(
    Kindly help me to resolve the issue?
    Regards,
    Arun

    Did you solve this? I have the same issue.

  • Refresh a single chart in a series of charts

    Hi All,
        I have a screen with 4 charts. But I want to refresh each of the charts after a particular duartion.
    For example the first chart should be refreshed after 1 minute.
    The second chart should be replaced after 30sec...... And so on.........
    Please help me to do this.
    Thanks

    You can add timers to each of your charts explicitly. Set the duration as desired in each of these timers ( 60000 milli seconds  for 1st chart and 30000 for the second chart ). You will have to add event handlers for the timer complete event (TimerEvent.TIMER). In these event handlers call your http service or refresh your charts by updating the chart's dataprovider.
    example code below :
    <mx:Script>
            <![CDATA[
        private var timer:Timer;
                private function init():void{
                        timer = new Timer(60000);    // 1 minute
                        timer.addEventListener(TimerEvent.TIMER,refershGraph);
                        timer.start();
        private function refershGraph(event:TimerEvent):void{
              // update the dataprovider of your chart or call your httpservice here
             // reset the timer and start it again         
              timer.reset();           
              timer.start();   
    ]]>
        </mx:Script>
    Cheers

  • SAP UI5 charts sap.viz OR sap.makit?

    Hi All,
    Just wanted to know which one is preferable / suggested for implementing charts for mobiles using SAP UI5 ? sap.viz or sap.makit?
    I know that the VIZ charting library (sap.viz) relies on the open source component D3 which in turn relies on the availability of Scalable Vector Graphics (SVG). As SVG is not supported by IE8 and not fully supported by FF ESR, the VIZ charting library is also not supported on those browsers.
    With this point can we say that it it better to go with sap.makit?
    Please advice.
    Thanks

    Hi,
    I'd recommend to use sap.viz if possible. It is the one that has development focus and it now also works on touch devices.
    For IE8 there seem to be compatibility libraries, google for them.
    (e.g. javascript - D3 IE8 Compatibility? - Stack Overflow and Home · mbostock/d3 Wiki · GitHub) https://github.com/shawnbot/aight might be the solution for IE8.
    Regards
    Andreas

  • How to make SSRS 2008 charts auto refresh with IE9

    I have some charts on an SSRS report.  The report is set to auto refresh every 5 seconds.  The charts refresh fine, displaying any data updates in the database --- as long as I use IE8 or Chrome (Chrome only displays the top 3 inches of
    the report, though, so I can't use it).  However, the charts refuse to auto refresh with IE9.  Windows 7 doesn't have IE8.  I cannot find a solution.  How can I get IE9 to refresh the charts?  (Plain data will refresh, but charts will
    not.)

    Hi TLWKY,
    From your description, you set the report to refresh automatically and view it through Internet Explorer 9, however, the charts data of the report don't refresh properly although the plain text data of report refresh without problems.
    The issue may be caused by a javascript error with resizing image in IE9. At this time, I suggest that you redesign the structure of your report by placing the charts in rectangles. If the charts are placed in tablix, please insert rectangles into the tablix
    first.
    As a workround, you can also downgrade IE9 to IE8. To do this, we can uninstall the installed update "Windows Internet Explorer 9" from contorl panel and Windows 7 will revert to IE8 automatically after rebooting. For more information, please see:
    Downgrade IE9 to IE8 windows 7
    Hope this helps.
    Regards,
    Mike Yin
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Mike Yin
    TechNet Community Support

Maybe you are looking for

  • Fix that WORKS for me. (Antenna Issue)

    But it's not a good alternative for the long run. I disable 3G which defaults to Edge. This seems to render the silicone case magical at keeping my bars at 4 or 5. The case alone, with 3G enabled, no dice. Without the case, with 3G enabled, no dice.

  • How can I load films I bought via iPad

    i bought some films via iPad. My i Pad is now full and there seems no way to download them without spending another 70€ for a crazy third party product. (Imho Epic fail) I tune store said I should be able to download films via iTune store. But there

  • All photos in the LR Catalog?

    Hi Folks, Well, after using LR for quite some time now it suddenly occured to me that I may not have all of my photos in the catalog.  With over 17,000 photos in my catalog, I'm wondering if anyone knows how I can check (compare?) to see if all photo

  • How to "Get Info" in the iTunes Store

    In the usual part of the iTunes Store, you cannot "Get Info" about media, but there is another section where you can. First, find out the item's Genre or Category. If it is Music, find out the Artist and Album. If it is an Audiobook, find out the Aut

  • Arial Black does not dispaly in FireFox???

    I have specified Arial Black in a CSS class. It displays in Chrome and IE but not in Firefox. Any reason for this? Is there a an extra bold font that I can use instead that FF will recognize? Thanks.