Dynamically set flash chart height?

Hi,
I have a flash chart that includes a selector that alters the query for the chart. Depending on what the user selects, the chart shows a different number of rows (this happens to be a stacked horizontal bar chart, but this could apply to any chart type). I would like to be able to dynamically set the chart height based on the number of rows the query returns. If I set it too small and the user makes a choice that returns a larger number of rows, the chart bars are compressed to the point where the labels are unreadable or omitted altogether. Conversely, if I set the height to a larger value and the user makes a selection that results in a small number of rows, the chart is overly extended and hard to read.
I am able to calculate what I'd like the chart height to be using a page item and a before header process. But I can't figure out how to pass this value to AnyChart. I tried using an item substitution (e.g., &P7_CHART_HEIGHT.) as the value for the chart height on the Chart Attributes/Chart Settings page, but this attribute requires a non-zero numeric value. I tried to figure out if I could alter the chart XML, but could not figure out how to do it and I'm not sure item substitutions would be passed in the XML anyway.
Is there a way to dynamically set the height attribute of a chart at page load time?
Thanks,
Mike

Hi Mike,
You can update the Region Source of your chart, replacing the substitution strings *#HEIGHT#* with the reference to your page item *&P7_CHART_HEIGHT.*. So your chart region source should then look something like the following(note that I've trimmed some lines for display purposes), and when the chart is run it will pick up your setting for the height, based upon the value returned from your Before Header process:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="#HOST_PROTOCOL#://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    width="#WIDTH#"
    height="&P7_CHART_HEIGHT."
    id="#CHART_NAME#"
    align="top">
<param name="movie" value="#IMAGE_PREFIX#flashchart/anychart_5/swf/...............................">
<param name="quality" value="high">
<param name="allowScriptAccess" value="sameDomain">
<param name="allowNetworking" value="all">
<param name="scale" value="noscale">
<param name="wmode" value="transparent">
<param name="FlashVars" value="initText=#FLASH_INIT#&xmlLoadingText=............................................">
<embed src="#IMAGE_PREFIX#flashchart/anychart_5/.......................................
       quality="high"
       width="#WIDTH#"
       height="&P7_CHART_HEIGHT."
       name="#CHART_NAME#"
       scale="noscale"
       align=""
       allowScriptAccess="sameDomain"
       allowNetworking="all"
       type="application/x-shockwave-flash"
       pluginspage="#HOST_PROTOCOL#://www.macromedia.com/go/getflashplayer"
       wmode="transparent"
       FlashVars="initText=#FLASH_INIT#&xmlLoadingText=#FLASH_................................................">
</embed>
</object>
#CHART_REFRESH#
{code}
I hope this helps.
Regards,
Hilary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to create dynamic ed flash charts based on user selected fields in Orac

    Hi all,
    Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
    Thanks
    Manish

    Hello,
    Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
    http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
    Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • 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

  • Reports 9.0.2. How to dynamically set graphic/chart width in paper layout?

    Hi there,
    I have a graphic with vertical bars in paper layout. Its width ranges from quarter of a A4 page width to several ones spanned. I have made the page width large enough but can not control the graphic width dynamically and when too much data must be shown on the X axis the bars get too thick to read.
    Is there another way except of?:
    - making the graph middle-sized and hoping that the client will not notice the visual glitch when too much or less data is the case;
    - using JSP (this is not an option here).
    To make the things worse, when the graph is expanded beyond a A4 page width or something its border reflects the change, but its contents is ugly shrunk.
    As I browsed this forum, I got convinced that the only way to get the graph under control at some extend is to use JSP web report.
    Anyone with experience on this? 10x in advance folks.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

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

  • 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":"")%>>

  • 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

  • Flash chart with dynamic sql query does not display

    Hi,
    In my schema SIVOA I have a lot of tables declared like this :
      CREATE TABLE "SIVOA"."EVV_xxxx"
       (     "CLEF_VAR" NUMBER(4,0),
         "DATE1" DATE,
         "VALEUR" NUMBER(16,8) Only the last part of the name changes "xxxx". For example E009, E019, etc....
    I am making a chart page with report and want the user to select a name of a table and I will display using dynamic sql query, the table report and chart.
    P184_ENAME is a select list returning the last part of the name of the table, fro example 'E009', 'E019', etc.
    P8_CLEF_VAR is an item containing a value. This value is a key retrieved like this :SELECT CLEF_VAR
    FROM SIVOA.SITE_ECHELLE
    WHERE SITE = :P184_ENAMEI built a classic report using a sql dynamic function :DECLARE
    x VARCHAR2 (4000);
    BEGIN
    x := 'SELECT NULL, DATE1, VALEUR FROM SIVOA.EVV_'
    || UPPER(:p184_ename)
    || ' WHERE CLEF_VAR = :p8_clef_var' ;
    RETURN (x);
    END;:p8_clef_var is an itme containing the value '4544'.
    This works perfectly fine !
    When I use this sql fucytion into a flash chart it does not work. I get this message "No data found".
    I do not understand why a the report get a result and not the chart !
    But if i hard-code the number of the CLEF_VAR instead of fetching it from :p8_clef_var I get a nice chart ! Go figure !DECLARE
    x VARCHAR2 (4000);
    BEGIN
    x := 'SELECT NULL, DATE1, VALEUR FROM SIVOA.EVV_'
    || UPPER(:p184_ename)
    || ' WHERE CLEF_VAR = 4544 ' ;
    RETURN (x);
    I cannot stay with the key (CLEF_VAR) hard-coded unformtunately !
    My question is how to get the chart displaying properly ??
    Thank you for your kind answers.
    Christian                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Alex,
    Using your request, with the classic report I get results (data), but I get the same message with the Flash chart : "No data found" ! I don't know how to investigate this. i tried many things but nothing works.
    Christian
    PS I tried this :
    DECLARE
       X   VARCHAR2 (4000);
    BEGIN
    x := 'SELECT NULL, DATE1, ROUND(VALEUR,2) FROM SIVOA.EVV_'
          || UPPER (:p184_ename) ||
          ' WHERE CLEF_VAR = '
          || :p8_clef_var ||
          ' AND DATE1 BETWEEN TO_DATE ('''
    ||:P8_DATE_DEBUT||''', ''DD/MM/YYYY HH24:MI'') AND TO_DATE ('''
    ||:P8_DATE_FIN||''', ''DD/MM/YYYY HH24:MI'')'
    RETURN (X);
    END; But it does not work either. I could find that the SLQ syntax generated is good becaus I put it into an item which display the return done by the pls/sql.
    What is sttange also with the classic report is that if I do click on next or previous to see another rows, I get the message "No data found". If I try to export the report I get an excel file with "No data fouid".
    Does anybody already tried my "need" here ? i find strange thant I should not be the firs one trying to get a report an tables which name would be "dynamic".
    Tahnk you.
    Edited by: Christian from France on Feb 13, 2009 3:05 AM

  • Dynamically setting height to 100%

    How do you dynamically create a container/control and set
    it's height to 100% in ActionScript?
    control.height = 100% doesn't work

    control.percentHeight = 100;

  • Setting the parameters for flash charts

    Hi friends,
    I am having a flash chart in one of my pages and the chart series is of type "Function returning the SQL query". the query is having some parameters like :P23_VARIABLE_NAME. The values of the variable is not getting passed on page load but the values will be passed only when we submit the form. The :P23_VARIABLE_NAME is a variable assigned to a list.
    Could you please let me know how to pass the value to the flash chart the data. The variable values are passed on page load for some other charts which are on the page.
    Regards,
    Pradeep

    That was helpful information. I verified the session status for the page items and saw that when the page loads the session status is blank and when we submit the form the status changes to I with the corresponding values that I entered.
    How can i set a default value for a page item so that when the page loads for the first time, The session status will be I and there is a default value for the page item.
    One more observations is that even the session status is blank how is the apex reports fetching the data based on the variable and the chart is not able to fetch the data.
    Could you provide some more light on the above two questions.
    Regards,
    Pradeep

  • Maximum row setting in flash chart

    I created a flash chart using sql query and the row size was limited to 20.. how do change this default row size. I checked the chart attributes and region definition page. Obviously I am missing an apparent link.
    I have seen an option for SVG chart however I dont find any for flash chart. Thanks in advance .
    Message was edited by:
    aru

    Arumugam,
    Edit the attributes for your chart series -- it is below the SQL.
    - Marco

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

  • Chart Flash Chart error: ORA-20001: Print Chart Data: Flash Chart error: OR

    Hi,
    if the query where my resource gantt chart is based on returns more the 107 rows, i will get the following error:
    chart Flash Chart error: ORA-20001: Print Chart Data: Flash Chart error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If i reduce the number of results, the chart is working fine.
    Max rows attribute of the series is adjusted to 4000
    Any idea?
    Thank you

    Thank you,
    I have tried it, but it I am not able to make it work, here you find a snip of my pagesource:
    <anygantt> <resource_chart>
    <resources>
    <resource id="341" name="Drexler, Franz" />
    <resource id="5" name="Gross, Johannes-Ludwig" />
    <resource id="8" name="Pecherski, Andrzej" />
    <resource id="131" name="Steinmetz, Raphael" />
    <resource id="191" name="Jenks, Raymond" />
    <resource id="33" name="Alhambra, Roda Marie" />
    <resource id="31" name="Daminescu, Adrian" />
    </resources>
    <periods>
    <period resource_id= "31" start="24-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="27-DEC-12 12.00.00.000000000 AM" end="28-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-JAN-13 12.00.00.000000000 AM" end="04-JAN-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="26-JAN-13 12.00.00.000000000 AM" end="04-FEB-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="01-JAN-13 12.00.00.000000000 AM" end="06-JAN-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="22-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="21-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "31" start="07-JAN-13 12.00.00.000000000 AM" end="11-JAN-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="21-DEC-12 12.00.00.000000000 AM" end="21-DEC-12 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "33" start="26-DEC-12 12.00.00.000000000 AM" end="28-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "33" start="25-FEB-13 12.00.00.000000000 AM" end="25-FEB-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="28-MAR-13 12.00.00.000000000 AM" end="29-MAR-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="09-APR-13 12.00.00.000000000 AM" end="09-APR-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="01-MAY-13 12.00.00.000000000 AM" end="01-MAY-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="12-JUN-13 12.00.00.000000000 AM" end="12-JUN-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="26-AUG-13 12.00.00.000000000 AM" end="26-AUG-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="01-NOV-13 12.00.00.000000000 AM" end="01-NOV-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="30-DEC-13 12.00.00.000000000 AM" end="30-DEC-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="31-DEC-13 12.00.00.000000000 AM" end="31-DEC-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="21-AUG-13 12.00.00.000000000 AM" end="21-AUG-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="15-OCT-13 12.00.00.000000000 AM" end="15-OCT-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "8" start="23-DEC-13 12.00.00.000000000 AM" end="23-DEC-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="27-DEC-13 12.00.00.000000000 AM" end="27-DEC-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="30-DEC-13 12.00.00.000000000 AM" end="30-DEC-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-JAN-14 12.00.00.000000000 AM" end="03-JAN-14 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="31-MAY-13 12.00.00.000000000 AM" end="31-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="21-MAY-13 12.00.00.000000000 AM" end="24-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="27-MAY-13 12.00.00.000000000 AM" end="29-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="31-MAY-13 12.00.00.000000000 AM" end="31-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-APR-13 12.00.00.000000000 AM" end="05-APR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="11-FEB-13 12.00.00.000000000 AM" end="11-FEB-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="29-JUN-13 12.00.00.000000000 AM" end="14-JUL-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="16-AUG-13 12.00.00.000000000 AM" end="16-AUG-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "8" start="26-AUG-13 12.00.00.000000000 AM" end="30-AUG-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-SEP-13 12.00.00.000000000 AM" end="06-SEP-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="15-FEB-13 12.00.00.000000000 AM" end="15-FEB-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "5" start="13-MAR-13 12.00.00.000000000 AM" end="13-MAR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="22-MAR-13 12.00.00.000000000 AM" end="22-MAR-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "33" start="20-MAR-13 12.00.00.000000000 AM" end="20-MAR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="08-APR-13 12.00.00.000000000 AM" end="08-APR-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "31" start="05-APR-13 12.00.00.000000000 AM" end="05-APR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "31" start="02-MAY-13 12.00.00.000000000 AM" end="03-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "341" start="01-JUL-13 12.00.00.000000000 AM" end="22-JUL-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "341" start="09-MAY-13 12.00.00.000000000 AM" end="12-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "191" start="04-JUL-13 12.00.00.000000000 AM" end="06-JUL-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "31" start="15-JUN-13 12.00.00.000000000 AM" end="30-JUN-13 12.00.00.000000000 AM" style="green" />
    </periods>
    </resource_chart></anygantt>
    </textarea>
    <div id="chartDiv"></div>
    <script type="text/javascript" language="javascript">
    /* Set default swf path */
    AnyChart.swfFile = 'i/flashchart/anychart_6/swf/OracleAnyChart.swf';
    /* Create new gantt chart */
    var chart = new AnyChart();
    chart.width="2500";
    chart.height="2500";
    /* Get string data from text area */
    var data = document.getElementById('rowData').value.toString();
    /* Set data */
    chart.setData(data);
    /* Write chart to "chart" div */
    chart.write("chartDiv");
    </script>
    do you have a idea whats wrong? thank you

  • Passing values to iframed page with flash chart.

    Hi,
    I'm trying to dynamically generate a series of charts within a sql report.
    In my report i make several calls to a page with a (flash) chart and i pass some values to this page/chart by setting page items through the source url of the iframe.
    The problem is that all the iframed instances of the page in my report display the same data although each iframe sets specific page item values through its source url.
    (only the page item values that were set by the last call to the page are being used by all the other chart instances)
    So why does this happen?
    Are the iframed charts rendered to slow?
    Is this a flash problem?
    Should i call each iframe within a seperate session?
    And does anyone know how to correctly pass values to the iframed page / chart so each instance of the page/chart displays the correct data?
    Thanks
    Niels

    Solved my problem by leaving the SESSION part blank in the src url of the iframe.
    Apex creates a new session for every iframe now, the page items values are not overwritten and the data is displayed correctly.

  • Flash Chart Width

    Hello,
    I would like to dynamically set the width of a flash chart, as the number of columns I display may vary a lot.
    Is there a way to do that ?
    Actually, I set a fixed width in the chart attributes, and I imagine that it is used in the #WIDTH# tag in the region source.
    Christophe

    I have the same problem with flash chart. In fact, no matter what I set for the chart width, it always displays up to 15 bars. 15 must be a default but I don't know where I can change it.
    In SVG chart, I can change the data point limit (default is also 15) to something larger. How can I do that in flash chart? Ideally, the chart should automatically scale the bar width based on the number of data points.

Maybe you are looking for

  • Anybody know how to fix the sluggishness with iTunes for my laptop?

    My laptop is outstanding, never crashes, no viruses, no slowing down, quick starts, very reliable.  Just a perfect computer. However with iTunes it stinks, it's slow, it responds slow, it'll freeze for sometimes up to (no joke) ten minutes waiting fo

  • My iPod Touch 4G is recognized as a camera in Windows 7 64-bit.

    I have uninstalled and re-installed iTunes many times. The iPod charges but (maybe because it is recognized as a portable device which is a Digital Camera) iTunes will not recognize it! iTunes won't even open up. I used to use the iTunes in my Vista

  • Received the New Nano and Applecare

    I am wondering how to register the Applecare for the new iPod Nano 6 gen. I just received. Also, should I register the Nano for the complimentary warranty or just register the Applecare. Do I need to register the Nano as a product first? Would it be

  • Approval Preview for EBP Workflow

    Hi, As per my understanding approval preview is not possible for complex operations like "loops" for EBP/SRM worklfow. Pls. let me know opinion on this. (If anybody has worked on including loop operations in SRM approval workflow pls. let me know the

  • Mac os 10.4 intallation hang???

    i have tried to install mac os 10.4 in my imac g3 but when i restart it hangs on grey apple logo and little round thing moving (like in flash loading) no process after that.