Flash Chart Bar Width

Is there a way to limit the width of the bars on a flash bar chart?
I've found that if I have but one bar on the chart it fills the entire chart area.
Doesn't look so good.
Bob

Hello,
I did a blog post about that: http://dgielis.blogspot.com/2008/06/specify-same-width-of-column-chart-in.html
The only way I can think of doing it, is to calculate the number of bars and adjust some parameters depending that. You do that by using Custom XML. I already tried it to get dynamic scaling and that worked. But I didn't have the time yet to do the bar width example, but the principle should be the same.
Regards,
Dimitri
-- http://dgielis.blogspot.com/
-- http://www.apex-evangelists.com/
-- http://www.apexblogs.info/

Similar Messages

  • Bar Chart Bar Width

    I am strugllig hard to have all my bars have a same width. Followig is what the code looks like:
    <?xml version="1.0"?>
    <!-- charts/UsingBarSets.mxml -->
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:s="library://ns.adobe.com/flex/spark"
        >
        <s:layout>
            <s:VerticalLayout/>
        </s:layout>
        <fx:Script><![CDATA[
            import mx.charts.Legend;
            import mx.charts.BarChart;
            import mx.charts.series.BarSet;
            import mx.charts.series.BarSeries;
            import mx.collections.ArrayCollection;
            [Bindable]
            private var yearlyData:ArrayCollection = new ArrayCollection([
                {month:"January", label:"January", planned:5000, funded:5000,
                    spent:4000},
                {month:"February", label:"February", planned:7000, funded:6000,
                    spent:7000},
                {month:"March", label:"March", planned:8000, funded:7000,
                    spent:6000},
                {month:"April", label:"April",planned:10000, funded:1000,
                    spent:12000}
            [Bindable]
            private var yearlyData1:ArrayCollection = new ArrayCollection([
                {month:"January", revenue:120, costs:45,
                    overhead:102, oneTime:23},
                {month:"February", revenue:108, costs:42,
                    overhead:87, oneTime:47},
                {month:"March", revenue:150, costs:82,
                    overhead:32, oneTime:21},
                {month:"April", revenue:170, costs:44,
                    overhead:68},
                {month:"May", revenue:250, costs:57,
                    overhead:77, oneTime:17},
                {month:"June", revenue:200, costs:33,
                    overhead:51, oneTime:30},
                {month:"July", revenue:145, costs:80,
                    overhead:62, oneTime:18},
                {month:"August", revenue:166, costs:87,
                    overhead:48},
                {month:"September", revenue:103, costs:56,
                    overhead:42},
                {month:"October", revenue:140, costs:91,
                    overhead:45, oneTime:60},
                {month:"November", revenue:100, costs:42,
                    overhead:33, oneTime:67},
                {month:"December", revenue:182, costs:56,
                    overhead:25, oneTime:48},
                {month:"May", revenue:120, costs:57,
                    overhead:30}
        ]]></fx:Script>
            <mx:BarChart id="myChart"
                         dataProvider="{yearlyData}" showDataTips="true"  width="100%" height="100%" >
                <mx:verticalAxis>
                    <mx:CategoryAxis categoryField="month"/>
                </mx:verticalAxis>
                <mx:series>
                    <mx:BarSet type="clustered" >
                        <mx:BarSeries xField="planned"
                                      displayName="Planned" />
                        <mx:BarSet type="overlaid">
                            <mx:BarSeries
                                xField="funded"
                                   displayName="Funded"/>
                            <mx:BarSeries
                                xField="spent"
                                displayName="Spent"/>
                        </mx:BarSet>
                    </mx:BarSet>
                </mx:series>
            </mx:BarChart>
    </s:Application>

    Take a look at the Bar Chart's barWidthRatio and maxBarWidth styles. They interact with one another,so are a little unpredictable.
    One tactic I use in the case where the bar widths are critical to the design is to set up two horizontal slider and bind the barWidthRatio and maxBarWidth properties to them. Now you can adjust them at run time and watch how they interact, and pick up the most appropriate values to use. Makes it much easier.

  • Flash Chart Bar Colors

    We just came up on 3.0.1 from version 2.
    Now I want to implement Flash charts and everything is working fine with the exception of the colors on bar charts. My customer wants colors different from the default.
    How can I change the colors of the bars on the charts?
    Bob

    Bob,
    Under the Chart Attributes, select Custom Color on Color Scheme and enter your desired color or select one via the Flashlight.
    Jeff

  • Drill Down Flash Charts dont refresh in IE

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

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

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

  • Bar/Line Chart in IR 9.3.1 how do i change bar widths

    I have a chart with 3 bar and a single line. The problem I am having is that the bar exceed the interval space. The intervals are based on month and the bar overlap into the next internal. How can I reduce the bar width so it fits within the single interval?

    The easiest way is to use the Status-4-Evar add-on. With it you can choose to not display any of the status messages or url hover previews, or display them in the add-ons bar or location bar instead.
    https://addons.mozilla.org/firefox/addon/status-4-evar

  • Why Flash chart is showing only 15 bars

    Hi,
    I have created a flash chart, a 2d column chart, but it is showing only 15 columns, I have checked that query is returning more that 20 rows.
    When I created a Pie chart with the same query, it too showing 15 pieces with one extra piece 'Other' by calculating other remaining rows.
    Can anybody tell, why bar and pie chart are not showing all the rows?
    Thanks
    -Smith

    Hi Ben,
    Your tip really helped me to fix a chart problem. I have a stacked bar chart and there were more than 25 columns. Due to the limitation, the chart was showing incorrectly with wrong values. After increasing the limit, it displays correctly now.
    Thanks a lot
    Nattu

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

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

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

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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 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

  • 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

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

  • 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

  • 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

  • How can I disable ctrl+alt+del and other keys

    I need help on how to disable some keyboard key combinations (ctrl+alt+del)in particular. Disabling other keyboard keys is equally welcomed. Also how can I disable Windows 2000/XP's Task Manager from exposing my running program to be terminated. Than

  • Can someone please help me figure out how to "clear" recent email addresses used in Mail?

    Can someone please help me figure out how to "clear" recent email addresses used in Mail?  For example, as I begin typing a name/email address in the "To:" field, Mail begins suggesting addresses that I've previously used.  I don't want any suggestio

  • Itunes wont update ipod

    when i plug my ipod in and try to update it with my new music a box pops up that says my ipod cant be synched because an unknown error occured (-48). i have no idea what that means or how to fix it, help? =/

  • Dual monitors screen management after disconnecting 2nd monitor

    I have a 2nd monitor attached to my iMac and if open an app Window on the 2nd monitor the next time I start the app the Window always defaults to the 2nd monitor (even if the 2nd monitor is turned off). Since I don't always remember that the app was

  • Planning Layout for Statistical Key

    Hello. Good Morning. Does anybody know how to enter the field Transaction Currency as a variable in a planning layout for Statistical Key? Please kindly answer me. Thank you very much. Best Regards, Antonio