Change hint on flash chart

Hi, we have a simple query and create a flash chart with the data
select case when partition_name is not null then partition_name
else table_name end table_name,
max(report_date),
max(mb_allocated)
from tsreport, tsreport_obj
where sid=refsid
and tbs=tablespace_name
and table_name = :P6_CHOOSEOBJECT
and report_date between add_months(sysdate,-4) and sysdate
group by table_name,partition_name, to_char(report_date,'WW')
order by 2;
Our link is table_name, as x value - we have the report_date and Y-Value is the numeric value mb_allocated;
The default hint is mb_allocated, [reportdate] how we can change them to table_name|partition_name, mb_allocated, report_date ?
We try to add the table_name to the query like report_date || ' ' || max(report_date) but them the chart shows only on the X-axis the name and not on the onmouseover tooltip?
Thanks for any help;

Hello,
If you go to your Chart details and put the select list to Custom XML you find following code:
      <hints auto_size="yes">
        <text><![CDATA[{NAME}, {VALUE}]]></text>
        <font type="Verdana" size="10" color="0x000000" />
      </hints>You can change the NAME, VALUE there.
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/

Similar Messages

  • Changing the custom XML for a flash chart dynamically

    Hello
    I am wondering if anyone has found a way to change the custom XML
    for a flash chart dynamically.
    For instance.
    On the www.anychart.com website their is a gallery with charts.
    I have studied one called "2Dlinetimechart. It has hours on the X-axis.
    When I view the XML for this chart.
    I found this enrty
    - <block color="0x0080C0" border_color="0x0080C0" name="Sales dept.">
    <set value="0" argument="0" name="00:00" />
    <set value="1" argument="0" name="01:00" />
    It uses the tag value to set the position on the X-axis. But the tag name to set the labels on the X-axis.
    I have not found a way to do this in application express 3.0.
    Therefore I wonder if I can change to XML dynamically, and build my own block based on the input I have.
    Or even build a chart, based on a xml that I create first then sends to the object that renders the chart.
    Hope this makes sence ?
    Ulf
    PS this is related to my question about
    http://forums.oracle.com/forums/thread.jspa?messageID=1887210?
    using dates on the x-axis.
    But would by nice to know a general method to rebuild the xml-file dynamically so I can change the chart within the limits of the xml-definition.

    String value = ResultSet.getObject("myfield").toString();
    String opvalue = "15";
    <OPTION Value=15 <%=((opvalue.equals(value))?"selected":"")%>>

  • Serie's Name in Hints on 2D Flash Chart

    Hello,
    I would like to have the name of the series in the Hints of a chart, with name and Value.
    I saw in the XML the following line:
    <text><![CDATA[{NAME}, {VALUE}]]></text>
    But I have no idea about what to add???
    In advance, many thanks,
    Fred

    Hello Dimitri,
    First, thanks for your answer.
    I knwo as you confirm that I have to modiify the XML, but unfortunatly, I don't know what to write to be able to have the series's name in the Hint.
    I tryed several thinks, but without good results: NAMES, {NAMES}, LEGEND, {LEGEND} in the line:
    &lt;hints auto_size="yes"&gt;
    &lt;text&gt;&lt;![CDATA[{NAME}, {VALUE}]|http://forums.oracle.com/forums/]&gt;&lt;/text&gt;
    &lt;/hints&gt;
    In Fact, I would like to understand wich is the name of variable for the chart's name of Series.
    Regards,
    Fred

  • Flash chart and names

    Hello everybody,
    I'm using an stacked 2D colum flash chart in my application in order to show all errors occuring through a week. Everything works fine, the data is showing up, but there's still one little problem:
    The bars of the chart are shown with their names and values on them. But I want to hide this information and just show the bars.
    If I use a stacked 3D column, the names aren't displayed. I guessed, that I could fix this, by using a custom XML and change some settings, but I can't figure out, which is the correct one.
    Here's the XML, I use, it's the standard presented to my by Apex. I'm using Apex version 3.1.1.00.09, with the standard anychart, delievered with it. And I can't update it with the anychart integration kit...
    <?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
    <root>
      <type>
        <chart type="Stacked 2DColumn">
          <animation enabled="no"/>
          <hints enabled="no"/>
          <names show="no"/>
          <values show="no" prefix="" postfix="" decimal_separator="," decimal_places="0" />
          <arguments show="no" />
          <column_chart column_space="3" block_space="12">
            <border enabled="no" />
            <block_names enabled="yes" placement="chart" rotation="45" x_offset="0" position="bottom" >
              <font type="verdana_embed_tf" size="10" color="0x000000" />
            </block_names>
            <background type="gradient">
              <alphas>
                <alpha>100</alpha>
                <alpha>100</alpha>
                <alpha>100</alpha>
              </alphas>
              <ratios>
                <ratio>0</ratio>
                <ratio>120</ratio>
                <ratio>0xFF</ratio>
              </ratios>
            </background>
          </column_chart>
        </chart>
        <workspace>
          <background enabled="yes" type="solid" color="0xffffff" alpha="0" />
          <base_area enabled="no" />
          <chart_area enabled="yes" x="100" y="70" width="340" height="240" deep="0">
            <background enabled="no"/>
            <border enabled="yes" size="1"/>
          </chart_area>
          <x_axis name="Datum" smart="yes" position="center_bottom" >
            <font type="Verdana" size="14" color="0x000000" bold="no" align="center" />
          </x_axis>
          <y_axis name="Bandstillstand" smart="yes" direction="horizontal" rotation="-90" position="left_center" >
            <font type="verdana_embed_tf" size="14" color="0x000000" bold="no" align="center" />
          </y_axis>
          <grid>
            <values />
          </grid>
        </workspace>
        <legend enabled="yes" x="470" y="70">
          <names enabled="yes">
            <font type="Verdana" size="10" color="0x000000" />
          </names>
          <values enabled="no"/>
          <scroller enabled="no"/>
          <header enabled="no"/>
          <background alpha="0"/>
        </legend>
      </type>
      #DATA#
    </root>Thanks for your help!
    Greetings
    Holger

    Hi Dird,
    sorry for my late response, but my lovely company denies the access to image hosting sites. So I had to do this at home during the weekend and there I couldn't have a look once more at my app, so it took until today :-)
    I've seen, that you're not using anychart in the "standard" version that comes along with Apex, right? So it's good to know, that my XML works fine with a newer version, but I'ver got to use the version, deployed with the Apex package.
    So, is there any chance, to get rid of the names on the bars with the standard version? Or do I have to wait for the next Apex version, or buy me the new anychart license?! Can anybody help please?
    Thanks
    Holger

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

  • 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

  • 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

  • Flash Charts - How to manipulate the #data# replacement string in XML

    I have a problem with the XML file for a flash chart. I am trying to display a 2dColumn chart of an SQL query with the general form:
    select null link, x as name, sum(y) as value from z group by (x);
    this generates multiple rows, which are displayed as a bar in the chart. So far so good. The problem is, that each row is defined as a block in the chart, but only one name entry is created "value", which is displayed in the legend of the chart.
    I can display the block names on the x-axis of the chart, however, I can't rotate them, so that they don't overlap in the display, which I would be able to do with names. I assume, that the blocks are defined in the #data# replacement string of the XML file. I would like to change the generated XML replacement string from the SQL to make each row selected a different name, and only have one block ("value").
    What would be the easiest way to achieve this?

    user587996,
    There's no way to manipulate the #data# replacement directly, but you could generate your own XML (see Re: Apex changing nulls to zeroes when creating Flash Charts for one way to do it).
    When you say "I can't rotate them, so that they don't overlap in the display" -- have you tried the Labels Rotation chart attribute, or is that not working?
    - Marco

  • How to display 3 lines in an AnyChart candlestick flash chart ?

    Hi,
    I have a nice Candlestick flash chart and I am using Anychart 5.1.2. i would like to display 3 horizontal bar lines on this chart.
    The values on the y axis on these 3 bar lines are contained into 3 items. Do you have an idea on how to display these lines with the XML ? Here is the XML existing.
    <?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
    <root>
      <type>
        <chart type="Candlestick">
          <animation enabled="no"/>
          <hints auto_size="yes">
            <text><![CDATA[{NAME}
    Niveau maxi: {HIGH}
    Niveau moyen: {OPEN}
    Niveau mini: {LOW}]]>
    </text>
            <font type="Verdana" size="10" color="0x000000" />
          </hints>
          <names show="yes" width="150" placement="chart" position="bottom" >
            <font type="Verdana" size="10" color="0x000000" />
          </names>
          <values show="no" prefix="" postfix=" m ngf" decimal_separator="." decimal_places="0" />
          <arguments show="no" />
          <candlestick_chart>
            <bulls>
              <background enabled="yes" color="White" />
            </bulls>
            <bears>
              <background enabled="yes" color="Black" />
            </bears>
          </candlestick_chart>
        </chart>
        <workspace>
          <background enabled="yes" type="solid" color="0xffffff" alpha="0" />
          <base_area enabled="no" />
          <chart_area enabled="yes" x="80" y="50" width="670" height="280" deep="0">
            <background enabled="no"/>
            <border enabled="yes" size="1"/>
          </chart_area>
          <name text="&P8_SITE_AFF. - Niveau du &P8_DATE_DEBUT. au &P8_DATE_FIN. - Pas de temps : &P8_TRUNC. (DD : Jour, HH24 : Heure, MI : Minute)" >
          <font type="Verdana" size="14" color="0x000000" align="center" />
          </name>
    <x_axis name="Niveau min : &P8_NIVEAU_MIN. m ngf - Niveau max : &P8_NIVEAU_MAX. m ngf - Niveau moyen : &P8_NIVEAU_MOYEN. m ngf" smart="yes" position="center_bottom" >
            <font type="Verdana" size="14" color="0x000000" bold="no" align="center" />
          </x_axis>
          <y_axis name="Niveau" smart="yes" position="left_center" >
            <font type="Verdana" size="14" color="0x000000" bold="no" align="center" />
          </y_axis>
          <grid>
            <values />
          </grid>
        </workspace>
        <legend enabled="no"/>
      </type>
      #DATA#
    </root>Thank you for your kind help.
    Christian

    Hi,
    I have a nice Candlestick flash chart and I am using Anychart 5.1.2. i would like to display 3 horizontal bar lines on this chart.
    The values on the y axis on these 3 bar lines are contained into 3 items. Do you have an idea on how to display these lines with the XML ? Here is the XML existing.
    <?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
    <root>
      <type>
        <chart type="Candlestick">
          <animation enabled="no"/>
          <hints auto_size="yes">
            <text><![CDATA[{NAME}
    Niveau maxi: {HIGH}
    Niveau moyen: {OPEN}
    Niveau mini: {LOW}]]>
    </text>
            <font type="Verdana" size="10" color="0x000000" />
          </hints>
          <names show="yes" width="150" placement="chart" position="bottom" >
            <font type="Verdana" size="10" color="0x000000" />
          </names>
          <values show="no" prefix="" postfix=" m ngf" decimal_separator="." decimal_places="0" />
          <arguments show="no" />
          <candlestick_chart>
            <bulls>
              <background enabled="yes" color="White" />
            </bulls>
            <bears>
              <background enabled="yes" color="Black" />
            </bears>
          </candlestick_chart>
        </chart>
        <workspace>
          <background enabled="yes" type="solid" color="0xffffff" alpha="0" />
          <base_area enabled="no" />
          <chart_area enabled="yes" x="80" y="50" width="670" height="280" deep="0">
            <background enabled="no"/>
            <border enabled="yes" size="1"/>
          </chart_area>
          <name text="&P8_SITE_AFF. - Niveau du &P8_DATE_DEBUT. au &P8_DATE_FIN. - Pas de temps : &P8_TRUNC. (DD : Jour, HH24 : Heure, MI : Minute)" >
          <font type="Verdana" size="14" color="0x000000" align="center" />
          </name>
    <x_axis name="Niveau min : &P8_NIVEAU_MIN. m ngf - Niveau max : &P8_NIVEAU_MAX. m ngf - Niveau moyen : &P8_NIVEAU_MOYEN. m ngf" smart="yes" position="center_bottom" >
            <font type="Verdana" size="14" color="0x000000" bold="no" align="center" />
          </x_axis>
          <y_axis name="Niveau" smart="yes" position="left_center" >
            <font type="Verdana" size="14" color="0x000000" bold="no" align="center" />
          </y_axis>
          <grid>
            <values />
          </grid>
        </workspace>
        <legend enabled="no"/>
      </type>
      #DATA#
    </root>Thank you for your kind help.
    Christian

  • Display Dynamic HTML beside Flash Chart in Chart Region

    Hello,
    I have a vertical 3D flash chart with some categories I,II,IV... on x-axix. I have to show a legend beside the chart dynamically depending on the categories displayed like (I - PC, II - TV, IV-Laptop....) First I tried to do this with static data. I modified, Region Source of Chart region to include the legend. I am successful to create a table & put some static html code. Now I want this to be dynamic.
    I found that with shotcuts I can put dynamic HTML code. I created shortcut with PL/SQL & successfully displayed them in a 'HTML REGION WITH SHORTCUTS', but I want that in Chart Region, not as a separate region. Shortcut is not working in Chart region.
    How can I achieve this? Is there a way to call a process or substitution string or some thing from Chart Region to display my legend dynamically beside the chart.
    Experts any hint is appreciated.
    Sowji.

    Experts,
    Can you please give any hint how this can be achieved? If I keep the dynamic legend as HTML with Shortcut region, the width & height are not matching with the chart region as it is dynamic. Also, I am unable to combine both 'chart' & 'html with shortcut' region to look like one region. So I am looking for options to insert the dynamic html in to chart region.
    Sowji.

  • 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

  • Flash chart error: scroller position should be positive and integer

    Hi
    I am periodically getting this error when running a flash chart.
    It seems to be related to the amount of data that I am using.
    Any Idea whats causing it and how to resolve it
    Keith

    This only happens when using custom xml. If I change it to use the built-in xml, I get a no data found message.
    That happens even if i just reset the custom xml.
    Apex 3.1 with built in anychart
    Edited by: Keith Jamieson on Aug 20, 2010 1:47 PM

  • Flash Chart Error "A Start-tag was not matched with an end-tag."

    All of the Flash charts on a page started displaying the error "A Start-tag was not matched with an end-tag." The charts were all working prefectly and no changes were made to the page. Any thoughts?
    Thanks.

    Here is what I get when I click Show XML in debug mode. Thanks.
    <?xml version="1.0" ?>
    - <root>
    - <styles>
    <style type="background" id="background" background_type="solid" color="0xffffff" alpha="0" />
    <style type="deal_background" id="dealBackground" enabled="yes" color="0xdddddd" alpha="100" />
    <style type="deal_border" id="dealBorder" enabled="yes" thickness="1" color="0x666666" alpha="100" />
    <style type="deal_position" id="dealPosition" left="146" top="169.1707317" />
    <style type="deal_size" id="dealSize" startAngle="0" endAngle="180" innerRadius="0" outerRadius="109.5" />
    <style type="indicator_background" id="indicatorBackground" enabled="yes" color="0x000000" alpha="100" />
    <style type="indicator_border" id="indicatorBorder" enabled="yes" color="0xFFFFFF" thickness="1" alpha="0" />
    <style type="scale_size" id="scaleSize" length="7.3" />
    <style type="scale_position" id="scalePosition" radius="102.2" />
    <style type="scale_lines" id="scaleLines" enabled="yes" thickness="1" color="0x000000" alpha="100" />
    <style type="scale_labels_position" id="scaleLabelsPosition" radius="109.5" />
    <style type="scale_labels_background" id="scaleLabelsBackground" enabled="no" />
    <style type="scale_labels_border" id="scaleLabelsBorder" enabled="no" color="0x000000" />
    <style type="scale_labels_text" id="scaleLabelsText" font="Verdana" size="10" color="0x000000" bold="no" italic="no" underline="no" align="right" />
    <style type="scale_labels_size" id="scaleLabelsSize" />
    <style id="areaBackground0" type="area_background" enabled="yes" color="0x669999" alpha="100" />
    <style id="areaBackground1" type="area_background" enabled="yes" color="0xCCCCCC" alpha="100" />
    <style id="areaBorder" type="area_border" enabled="yes" thickness="1" color="0xFFFFFF" alpha="100" />
    <style id="areaBorder0" type="area_border" enabled="yes" thickness="1" color="0x666666" alpha="100" />
    <style id="areaSize" type="area_size" outerRadius="105.85" innerRadius="36.5" />
    <style type="circle_object_border" id="dotBorder" enabled="no" />
    <style type="circle_object_position" id="dotPosition" left="146" top="169.1707317" />
    <style type="circle_object_size" id="dotSize" radius="7.3" />
    <style type="circle_object_background" id="dotBackground" enabled="yes" color="0x000000" alpha="100" />
    <style id="emptyBorder" enabled="no" />
    </styles>
    - <shapes>
    - <shape id="indicatorShape" type="polygon">
    <point x="0" y="-4" />
    <point x="-97.82" y="0" />
    <point x="0" y="4" />
    <point x="0" y="-4" />
    </shape>
    </shapes>
    - <objects>
    <circle sizeStyleId="dotSize" positionStyleId="dotPosition" backgroundStyleId="dotBackground" borderStyleId="dotBorder" />
    </objects>
    - <data>
    <deal minimum="0" maximum="100" sizeStyleId="dealSize" positionStyleId="dealPosition" backgroundStyleId="dealBackground" borderStyleId="dealBorder" />
    - <areas>
    <area startValue="1" endValue="99" backgroundStyleId="areaBackground1" borderStyleId="areaBorder" sizeStyleId="areaSize" />
    </areas>
    - <scales>
    <scale startAngle="0" endAngle="180" angleStep="18" labelsPrefix="" labelsPostfix="%" decimalPlaces="0" sizeStyleId="scaleSize" positionStyleId="scalePosition" linesStyleId="scaleLines" labelPositionStyleId="scaleLabelsPosition" labelBackgroundStyleId="scaleLabelsBackground" labelBorderStyleId="scaleLabelsBorder" labelTextStyleId="scaleLabelsText" labelSizeStyleId="scaleLabelsSize" />
    </scales>
    <indicator value="51.7412935" backgroundStyleId="indicatorBackground" borderStyleId="indicatorBorder" shapeId="indicatorShape" />
    </data>
    </root>

  • How to remove values data points from Apex3 Flash Chart

    Hi
    I am using a Apex 3.2 and I have to put Flash Charts in my application. But since the charts have are smaller in size, I do not want to have the data points coming up in the chart. I have planned to show them using hints. But unfortunately, I am not able to hide the Data Points. Can you please help. Thanks Sahcin. Here is my custom XML.
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <root>
         <type>
              <chart type="Stacked Horizontal 2DColumn">
                   <animation enabled="no"/>
                   <hints enabled='yes' auto_size='no' width='200' height='20' horizontal_position='left' vertical_position='top'>
                        <text><![CDATA[{NAME}, {VALUE}]]></text>
                        <font type="Verdana" size="10" color="black"/>
                        <background color="0xF4F4F4"/>
                   </hints>
                   <arguments show="no"/>
                   <names show='yes' position='top'/>
                   <values show="no" prefix="$" postfix="" decimal_separator="." thousand_separator=',' decimal_places="2"/>
                   <column_chart column_space='20' block_space='20' left_space='0' right_space='0' up_space='0' down_space='0' round_radius='0'>
                        <border enabled="no"/>
                        <block_names enabled="yes" placement="chart" rotation="45" x_offset="0" position="left">
                             <font type="verdana_embed_tf" size="8" color="0x000000"/>
                        </block_names>
                        <background type="gradient" gradient_type="linear">
                             <alphas>
                                  <alpha>100</alpha>
                                  <alpha>100</alpha>
                                  <alpha>100</alpha>
                             </alphas>
                             <ratios>
                                  <ratio>0</ratio>
                                  <ratio>120</ratio>
                                  <ratio>0xFF</ratio>
                             </ratios>
                        </background>
                   </column_chart>
              </chart>
              <workspace>
                   <background enabled="yes" type="solid" color="0xF4F4F4" alpha="0"/>
                   <base_area enabled="no"/>
                   <chart_area enabled="yes" x="100" y="50" width="600" height="300" deep="0">
                        <background enabled="yes" type="solid" color="0xCCFF99"/>
                        <border enabled="yes" size="1"/>
                   </chart_area>
                   <x_axis name="Region" smart="yes" position="left_center">
                        <font type="Verdana" size="10" color="0x000000" bold="no" align="center"/>
                   </x_axis>
                   <y_axis name="Booking Amount (kUSD)" smart="yes" position="center_bottom">
                        <font type="Verdana" size="10" color="0x000000" bold="no" align="center"/>
                   </y_axis>
                   <grid>
                        <values>
                             <lines size='1' color='0x15771A' alpha='100'/>
                        </values>
                   </grid>
              </workspace>
              <legend enabled="yes" x="0" y="0" rows="2" rows_auto_count="no">
                   <names width='80' enabled='yes'/>
              </legend>
         </type>
         #DATA#
    </root>Edited by: user779712 on Nov 3, 2009 4:45 PM
    Edited by: user779712 on Nov 3, 2009 4:46 PM

    Well going in point by point and deleting is certainly one way of going about it. Of course that would defeat the entire purpose of having this great programming enviroment that is capable of doing that kind of thing for us.
    Is your text file small enough to upload? Obviously you know what the criteria are for judging whether or not a data point is acceptable so it should be simple enough to program. Give us a bit more information and I can assure you there will be a race between LabVIEW experts to see who can post the cleanest, simplest, and fastest piece of code that will do what you need. My wager is on altenbach, but there are a few others here that are almost as impressive.

Maybe you are looking for