Bar Chart: Bar Z-Index

I am trying to create a vertical bar chart. However, I have run into a small snag.
My chart:
- The X-axis has the next 12 months.
- Y-axis has calculated values.
I have multiple calculated values(bars) for each month(Column). Because of this I need to overlap the bars and show them in order of tallest down-to the shortest.
The problem:
When I overlap the bars it doesn't show all of the bars. The graph draws the bars in order of the timeline. The bar that is earliest in the timeline gets drawn first. Because of this, the shorter bars at the beginning of the timeline get hidden by the taller bars near the end of the timeline.
Is there a way I can sort these bars to show smallest - largest per month in their correct series color?
More Info:
  A bar represents a project that can span multiple months.
Dataset:
Project Name, Month, hours
Proj1, Jan, 5
Proj1, Feb, 6
Proj1, Mar, 6 <-- will be hidden by Proj2, Mar, 7
Proj1, Apr, 5 <-- will be hidden by Proj2, Apr, 8
Proj2, Mar, 7
Proj2, Apr, 8
Proj2, May, 7
I hope this edit makes it a bit more clear.
Thanks for the assistance!
Edited by: Joseph Forsythe on Sep 30, 2008 8:18 PM

Hello -
I use Custom XML to accomplish this. You want to define the format of the <label_settings> tag. Below is sample code fron one of my bar charts. I've separated the <format> tag so you can see it easily. Notice the numDecimals:2 that is what defines how many decimals to show.
     <data_plot_settings enable_3d_mode="false" >
        <bar_series style="Default">
          <tooltip_settings enabled="true">
            <format><![CDATA[{%Name}{enabled:False} - {%Value}{numDecimals:2,decimalSeparator:.,thousandsSeparator:\,}]]></format>
            <font family="Tahoma" size="10" color="0x000000" />
              <position anchor="Float" valign="Top" padding="10" />
          </tooltip_settings>
          <label_settings enabled="true" mode="Outside" multi_line_align="Center">
            <format><![CDATA[{%Value}{numDecimals:2,decimalSeparator:.,thousandsSeparator:\,}]]></format>
            <background enabled="false"/>
            <font family="Arial" size="10" color="0x000000" />
          </label_settings>
          <bar_style>
          </bar_style>
          <marker_settings enabled="True" >
            <marker type="None" />
          </marker_settings>
        </bar_series>
      </data_plot_settings>
...You may be able to do this without Custom XML. There is a decimal places field in the Axis Settings section of the chart attributes, but i'm pretty sure that only affects the axis display settings.
Austin

Similar Messages

  • CR for VS 2005 - Bar Chart - Bar colors

    Hi,
    I'm creating a report in Visual Studio 2005 and have a bar chart in it.  I've searched the forums but can't seem to find out how to change the colors of the Series bars.
    If anybody has any ideas or suggestions, they would be greatly appreciated.
    Thanks in advance.
    Ron

    Apparently, the version of CR that ships with Visual Studio doesn't allow much in the way of customization.  I have since upgraded to CR 2008 and can now change the bar colors.

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

  • BEX map does not represent data, neither as hue nor as circle or bar chart.

    Hello together, I hope myself can someone help.
    Under the Web Application designer (WAD), release 2004s, support Package 12, Patch 1, revision 314, I get the pure map of the world in the report only indicated.
    If I select care in the Web Item of the Item "map" as renderer value bar chart [BAR], then I get only one legend indicated and otherwise nothing.
    Same applies also with the pie chart. A test, where I all countries with those data available are not in a sharp blue indicate let, I get in the Web report the map of the world indicated where all countries blue colored am.
    With the counter proof with the WAD finally release 3,5 functions it with to same DATA perfectly the Provider. Also the bar charts are indicated.
    The associated of characteristic info object is duly maintained as info object with static geo characteristic. The shapefile DBF is maintained and into the BDS high-loaded also with the appropriate, adapted SAPBWKEY (which proves a functioning in the 3.5er WAD).
    Super would if be someone a solution would have.

    As this is a configuration issue and not a programming issue I' moving your question to a more appropriate forum where you're more likely to find assistance.
    Cindy Meister, VSTO/Word MVP,
    my blog

  • Stacked bar chart - layout

    Hi,
    is there any way to control the layout of a stacked bar chart (bar width and (horizontally) distance between bars)?
    In my chart all bars are on the left side while there is much free space on the right side. So is there a possibility to dynamically scale the bars?

    Hi Denes,
    thanks for your advice. I've alreadey looked at your charting tool a few days ago and it really looks fine. I think I am going to try it out for future projects. But this project is nearly finished and I don't want to change that much at the moment.

  • *Is there any way to limit the Chart Bar size dynamically?*

    Hi
    I have selected the Marker size as Medium for my Bar chart.
    Bar chart bar showing too big when there is only one bar.
    Is there any way to limit the bar size dynamically?
    Thank you

    hi Ruwan,
    Don is correct in that there is no option in the chart design component to do this.
    what you can do though (i know it is a pain) is to
    1) create a new chart in a new section with a narrower bar using the chart options dialogue
    2) create a conditional suppression formula for the new section and the old chart section based on the value returned in the Show Value for the chart
    i have created a request for a charting overhaul [here |https://ideas.sap.com/community/products_and_solutions/crystalreports;jsessionid=B3E2E9F6A6CC9C9F5321659382A91855.node0]in the ideas place which includes a solution for this particular issue. please feel free to give it the thumbs up if you think that this is a worthwhile idea.
    jamie

  • How to format individual series in stacked bar chart

    Hi,
    Is there any way I can format (sort order, or transperency) of each series individually in a horizontal stacked bar chart?
    I am trying to create a gantt chart, where I am using two series
    1. Start Date
    2. Duration
    The function of series one (Start Date) is only to place the start position of the horizontal bar of series 2 (duration) in the year time frame.
    After creation of the stacked bar chart, I want to make the reansperency of series 1 (start Date) as 0 so that the duration bar apears floating and gives the feel of Gantt chart.
    Thanks
    Aurobindo

    You may wish to see the article <a href="http://www.xcelsiusjournal.com/index.php?option=com_content&task=view&id=45&Itemid=2" target="_blank" title="Constructing a Simplified Gantt Chart in Crystal Xcelsius">Constructing a Simplified Gantt Chart in Crystal Xcelsius</a>. It does require changing the skin to Windows Classic, but that&#39;s a small price to pay for having a gantt-like capability.  <p>Loren Abdulezer/Evolving Technologies Corporation<br /><strong><a href="http://www.XcelsiusBestPractices.com">www.XcelsiusBestPractices.com</a></strong><br /><strong><a href="http://www.XcelsiusJournal.com">www.XcelsiusJournal.com</a></strong> </p>

  • SVG CHart error ORA-20001 with Stacked Bar Chart HTML DB 1.6.0.00.87

    Hi,
    during I put a How-To into execution (How To Create a Stacked Bar Chart) I'll get the following error code:
    SVG Chart error:ORA-20001:line_Chart error:ORA-20001:
    get_data error:ORA-20001:Parse error:ORA009
    (see http://www.oracle.com/technology/products/database/htmldb/howtos/index.html)
    This Situation occurs when i add a second series to the
    chart. The first series works fine. I've used the following SQL-Statement:
    select null l, sales_month, revenue from (select to_char(o.order_timestamp,'Mon YYYY') sales_month, sum(oi.quantity * oi.unit_price) revenue, to_date(to_char(o.order_timestamp,'Mon YYYY'),'Mon YYYY') sales_month_order from DEMO_PRODUCT_INFO p, DEMO_ORDER_ITEMS oi, DEMO_ORDERS o where o.order_timestamp <= (trunc(sysdate,'MON')-1)and o.order_timestamp > (trunc(sysdate-365,'MON'))and o.order_id = oi.order_id and oi.product_id = p.product_id and p.category = 'Audio' group by to_char(o.order_timestamp,'Mon YYYY') order by sales_month_order);
    Please help.
    Regards
    Detlev

    Well,
    I've just been struggling for a couple of hours with a cluster bar chart giving the same problem.
    The problem is definitely with "ORDER BY".
    I guess the graphing chart is taking the sql query as a string and then does some other manipulation on it which ends abnormally when you include the order by clause.
    I presume that if you embed the query in a
    SELECT * FROM (<actual query with order by>)
    it might mitigate the problem.
    Bye,
    Flavio

  • Bar chart and Line chart in a single chart??

    Hello,
    Was wondering if there is any way to create a bar chart and line chart in a single Flash or SVG chart? If not, are there any plans to introduce such a chart type in the future releases?
    Regards,
    Dev

    Dev,
    I don't think you can do that using standard Flash or SVG. However, you can do this
    using my XML Chart Package
    http://htmldb.oracle.com/pls/otn/f?p=31517:58
    and the instructions given on
    http://www.maani.us/xml_charts/index.php?menu=Gallery&submenu=Composite
    You can modify the package to do that for you.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Anychart bar charts generated for each row of a report

    I am looking for ideas on, or existing examples of how the above requirement could be implemented in Apex 3.2.1.
    My initial thoughts are to:
    - use a pipeline table function as the report region source
    - generate the JavaScript for creating bar charts with one series of 48 points, as a column returned by the table function.
    The source data will be unlikely to be more than 15-20 records pulled from a well indexed underlying record set of several million records.
    My worry is that this may not be a particularly responsive solution and I would like to know if anyone can validate or improve on my approach?
    Cheers
    FunkyMonkey

    You would need to define a separate column to hold the required output for each possible parameter value in the first column.
    Each column would need to be conditional, where the condition is based upon the value in the first column, which you can reference using #column_name# syntax.
    Try that...
    CS

  • Is possible deactivate shadow's bar chart?

    Hi! In obiee 11g all bar charts have a shadow. I would like to know if is possible to deactivate with XML code because I don't found an option.
    I want to deactivate only in one chart, Not all of my charts
    Thanks!!

    Hi,
    Yes, that was the SQL I used.
    I don't think you'd be able to get that output using the Apex charts - at least, I've not seen any examples of grouping output by months. You would need some form of Combined chart - I know Anychart does that (see: http://www.anychart.com/products/anychart/gallery/Combined-Charts.php ) but I don't think Apex handles that (or, rather, it will allow you to combine a line chart with a bar chart but the lines would overlay the bars). Using either multiple values in the SQL or multiple series in the chart, still results in a single stacked bar for each entry.
    You can tweak the XML that is generated (set Use Custom XML to Yes) and try out some of the options shown in the AnyChart's Documentation ( see: http://www.anychart.com/products/anychart/docs/xmlReference/index.html ), though I've had issues with that in the past as the XML tags don't seem to match those in Apex!
    Andy

  • WAD - Values above Bar Chart not displaying.

    Hi All,
    Please find the report that created in WAD using Chart.
    From the above image, the numbers above the Bars is not displaying except the first Bar. I have checked the Series in WAD and all the settings are same Bar 1 and Bar 2. But still, the values are not displaying except 1st Bar. Please find the settings i made in Web Application designer.
    And also some text is displaying "Missing text XXXX". Any settings i need to do for not appearing in the chart, pls suggest.
    Do i need to do any other settings for displaying the value above the Bar Chart.
    Thanks.

    Hello Jalina,
    I would echo recommendation from Sapna. Upgrade your IGS if possible.
    Goto the IGS Download area in the SAP Service Marketplace.
    Download the IGS executable and library patch (igsexe*.sar) for
    your platform from
    -: http://service.sap.com/swdc
    ->  Support Packages and Patches -> A-Z Index ->Select "I"
    -> SAP IGS -> SAP IGS <version>
    -> SAP IGS <version>   -> <operating system>.
    Also review notes
    896400  BC-FES-IGS  Upgrade your WebAS 7.x based IGS
    1491848 BC-FES-IGS  What IGS should I be using with my Web AS?
    844669  BC-FES-IGS  Profile parameter of IGS as of Version 7.00
    514841  BC-FES-IGS  Troubleshooting when a problem occurs with the IGS
    If this is not possible can you update the thread with your IGS version and system details?
    To find the IGS Version. Call transaction: SIGS - if the IGS server is running
    This page shows the versions of the IGS components. The number before
    the last number shows the patch level
    You will something like this: Version     7200.0.3.1
                                                                               ^
                                                    this is your patch level
    7200.0.3.1
    ^^
    this is your IGS Version level
    this means your IGS is 7.20 Patch 3
    You can also check your patch level as follows:
    - Start transaction SA38 (or SE38)
    - Run the report GRAPHICS_IGS_ADMIN
    - Choose the rfc destination, IGS_RFC_DEST should be the default
    - Select Status
    Best regards,
    Oisin

  • Regarding Bar Chart

    Hi ,
        This is prasad new to sap xmii.In Xmii i want to display two bar charts.
    First bar chart should display by selecting the dropdown.It works fine by displaying the chart.And the next bar chart should display on clicking the Units of first bar chart.
    But it is not happening like that.To display the second one first we have to click the legend on the right side of the chart and then clicking on the chart displays the second chart.
    I would like to display the second bar chart by clicking the first bar chart  unit directly without clicking on the legend.
    Can any one give the necessary direction on this will be helpful for me
    Thanks,
    Prasad.

    In situations like this, since the ChartSelectionEvent in the chart area is visually independent of the SelectionEvent in the legend, I prefer to have both events declared.
    In the ChartSelectionEvent function you can use the .getLastSelectedTag() method to determine which associated legend 'pen' the user selected by clicking on the bar.  You can then use this number to call the .setSelectedPen(iPen); method, which will do two things:  highlight the legend item for the bar they've selected and also fire the SelectionEvent for the iChart.
    By doing this you have script access to everything you need about the particular bar they've clicked as well as the pen related information.  It also provides the visual correlation so that the user doesn't get confused by clicking on a bar in the chart for drill-down but still seeing the legend indexed to a different pen.
    fun ction BarChart_ChartSelected() {
         var myChart = document.BarChart.getChartObject();
         var selPen = parseInt(myChart.getLastSelectedTag());
         if (selPen > 0) {
              myChart.setSelectedPen(selPen);
    Regards,
    Jeremy

  • Using 3d bar chart in ireport

    Can somebody please guide me about using nd creating 3d bar chart in ireport. using ireport designer as I am new to Ireport.Or can suggest me a site for this as soon as possible.
    Thanks in advance to my friends

    - Java 3D API can be downloaded from (and is documented at):
    http://java.sun.com/products/java-media/3D/
    https://java3d.dev.java.net/
    The API can be used to produce 3d graphs.
    - There are also some commercial and free classes available on the net:
    http://www.jpowered.com/line_graph/index.htm
    http://www.hotscripts.com/Java/Applets/Graphs_and_Charts/
    http://www.freedownloadmanager.org/downloads/3d_bar_graph_applet_info/

  • Disable gradient on flash bar chart?

    It seems that the default flash bar chart has a gradient running right down the middle of the bar. Is there a way to turn this off, so that I have a solid color?
    Thanks for the help.

    If you are using Apex version 3, it uses Anychart version 3.
    If you want to use the custom XML option on your chart you need to know the XML spec. If you look on the Anychart website, their documentation is for Anychart version 4 and will not work! Check out the version 3 documentation at;
    http://3.anychart.com/products/docs/anychart/index.htm

Maybe you are looking for

  • BADI for changing the product cost

    Hi All, My requirement is to change the product cost when the costing engine is running via ck11n or ck40n. Iam looking for user exits and BADI's for this requirement. I did look into the BADI DATA_EXTENSION_CK but this particular BADI does not have

  • After a successfull install, I can not launch oracle DB XE

    hello, I installed oracle db XE 10.2.0.1.0 on a centos 6.2 (~redhat) but I can't start it. I succeeded in launching it after the installation but after a reboot it is not launched (apex on my web browser gives me an error : page not found or similar)

  • Is it possible to replace a iPad 2 screen?

    I have weird scratches that I don't know how they got there I have been using a smart cover on it all the time.

  • How can I download 1.1.3 firmware to my ipod mini

    i have tried everything to get my ipod to work, downloading firmware 1.1.3 to my ipod seems to be the only way to fix this, could someone please help me!?

  • Order by clause doesn't work properly

    Hello, I have developed a purchasing report and added it to the request group.The Order By clause (to_number(PO_HEADERS_ALL.SEGMENT1)) in my query gives the required ordering when the report runs in Reports Builder, and it doesn't when requested from