Is Stacked Bar/Column chart Supports Multiseries..?

Hi All
Is Stacked Bar/Column chart Supports Multiseries..?
I was trying to build a Stacked Bar chart .And add a line
series to it But when i run this I'm getting an error
like this
"ReferenceError: Error #1056: Cannot create property offset
on mx.charts.series.LineSeries."
Here is My Code
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var netPrByQtrData:ArrayCollection=new
ArrayCollection
{quarter:"Q4 05", bottom:88.89, middle:11.11, top:0.00,
netPromoter:-88.89},
{quarter:"Q1 06", bottom:80.00, middle:10.00, top:10.00,
netPromoter:-70.00},
{quarter:"Q2 06", bottom:16.67, middle:50.00, top:33.33,
netPromoter:16.67},
{quarter:"Q3 06", bottom:28.57, middle:28.57, top:42.86,
netPromoter:14.29},
{quarter:"Q4 06", bottom:80.00, middle:20.00, top:0.00,
netPromoter:-80.00},
{quarter:"Q1 07", bottom:80.00, middle:0.00, top:20.00,
netPromoter:-60.00},
{quarter:"Q2 07", bottom:60.00, middle:20.00, top:20.00,
netPromoter:-40.00},
{quarter:"Q3 07", bottom:80.00, middle:0.00, top:20.00,
netPromoter:-60.00}
]]>
</mx:Script>
<mx:Panel title="Net Promoter By Quarters" width="500"
height="350" x="31" y="34">
<mx:ColumnChart id="mychart"
dataProvider="{netPrByQtrData}"
showDataTips="true"
height="250"
width="450" type="stacked">
<mx:horizontalAxis>
<mx:CategoryAxis categoryField="quarter"/>
</mx:horizontalAxis>
<mx:series>
<mx:ColumnSeries
yField="bottom"
xField="quarter"
displayName="Bottom" >
</mx:ColumnSeries>
<mx:ColumnSeries
yField="middle"
xField="quarter"
displayName="Middle" >
</mx:ColumnSeries>
<mx:ColumnSeries
yField="top"
xField="quarter"
displayName="Top" >
</mx:ColumnSeries>
<mx:LineSeries
yField="netPromoter"
xField="quarter"
displayName="Net Promoter" >
</mx:LineSeries>
</mx:series>
</mx:ColumnChart>
<mx:Legend dataProvider="{mychart}"
direction="horizontal"/>
</mx:Panel>
</mx:Application>
If I omit type="stacked" from
<mx:ColumnChart id="mychart"
dataProvider="{netPrByQtrData}"
showDataTips="true"
height="250"
width="450" type="stacked">
The code will work perfectly..But unfortunately its not a
Stacked Chart...
Is there any solution for this....Please reply your valuable
suggestions ASAP.....
Thanks in Advance..
Subin

Hello,
In Flex Builder 4 and Above.
For composite charts with Multiple column series and line series,
Remove type = “stacked” property from Column Chart.
and Add columnset like.
<mx:series>
    <mx:ColumnSet type="stacked">
       <mx:ColumnSeries yField="aSales" displayName="A Sales" />
       <mx:ColumnSeries yField="bSales" displayName="B Sales" />
    </mx:ColumnSet>
    <mx:LineSeries yField="total" displayName="Total Sales"/>
</mx:series>
Cheers,
SaM.

Similar Messages

  • Stacked Bar Combination Chart in Reports

    Afternoon
    I have a requirement for a chart that is a stacked bar chart chart with the addition of a line chart.
    The combination chart allows Bars and Lines, but can't see how to change this to a stacked bar. Is there a setting I can change in the XML?
    Report Builder 10.1.2.0.2
    Any ideas?
    Regards
    Richard

    Solved my own problem.
    Add graphType="BAR_VERT_STACK" to the "Graph version..." as below:
    <Graph version="3.2.0.22" markerDisplayed="false" markerShapeInLegend="false" graphType="BAR_VERT_STACK">
    Also ensure the bar series are set to "MT_BAR" and line is set to MT_MARKER

  • Stacked 2D Column chart - strange behaviour after upgrade to 3.1.1.

    Problem is, when I choose chart type Stacked 2D Column, I get values on columns (I want just hints). 3.1 version works fine, and after upgrade to 3.1.1, values starts to apper on columns (show_values checkbox is disabled).
    Interesting is, that Stacked 3D column works fine, and values dont apper.
    Any idea, please?
    Kreso...

    Christopher,
    There is a workaround for this issue, but since we received the new flash file from AnyChart to fix in 3.1.2, please upgrade to 3.1.2 when it becomes available. To workaround in 3.1.1:
    1. Download and unzip the 3.1 installation medium.
    2. Find the /images/flashchart directory where the 3.1.1 images reside.
    3. Replace the 3.1.1 version of /images/flashchart/Stacked2DColumn.swf with
    the 3.1 version of the file from step 1.
    4. If using the PL/SQL Gateway (EPG), run apxldimg.sql to reload the 3.1.1 /images files into the database.
    - Christina

  • Ordering a stacked bar chart

    Using the flash stacked 2d column chart, I would like to order the chart with the highest bars on the left and only take the top 10 results. I currently have 5 series going to the chart correctly.
    Is there a way to sort and limit the final result this way?
    Message was edited by:
    csbailey

    I managed to get my data in order so that the above is no longer an issue.
    Now, though, I find that my chart is very ugly (one bar taking up the width of the chart) when there are fewer than my maximum number of rows returned, currently 10. I have looked through the options and the xml documentation and can't find anything that says to format the bars in such a way as if there were X number of rows.
    In this case, X is fixed, is there anywhere I can hardcode the width of the bars? I could only find the options for the space between.

  • Multiple Categories on a Stacked Bar Chart - Is it Possible?

    I'm using Crystal 2008 reports designer to convert charts now being maintained in MS Access.
    Is it possible to have multiple categories on a stacked bar Crystal Chart  as you can in MS Chart (used in Excel and Access)?
    I need to put both a date category and a community category on the x-axis, a numeric count on the y-axis and use a legend to differentiate the stack segments in the bar. So far I can only get either community or date on the x-axis and need to have both.

    I'm using Crystal 2008 reports designer to convert charts now being maintained in MS Access.
    Is it possible to have multiple categories on a stacked bar Crystal Chart  as you can in MS Chart (used in Excel and Access)?
    I need to put both a date category and a community category on the x-axis, a numeric count on the y-axis and use a legend to differentiate the stack segments in the bar. So far I can only get either community or date on the x-axis and need to have both.

  • How do I create a stacked bar chart - Crystal Excelsius 4.5

    How do I create a stacked bar chart using Crystal Excelsius 4.5?  I do not see the stacked bar chart in my components window.  - Erik

    I just opened an old file that I created with Crystal Excelsius and I see the stacked bar chart visible in the components window of my old files.
    Why has stacked bar chart disappeared from the components window in my new files?  It seems many of the components have "disappeared" including stacked bar, candlestick charts, area charts and most of the background components.

  • Business Graphics: Time Scatter, Line Chart, Column Chart

    Hi all,
      I have a requirement of intermixing of Bar/Column-Chart and Line-Chart. How to do this? I also need to color the columns.. Any Documents or Ideas will be appreciated.
    Thanks,
        Vinod V

    Hi, Rohit & Neha
       I think, my question is not clear..
    My requirements are on Business Graphics (Not in IWDTable), where i need to represent my data in different columns (Levels). Each level will be Represented in different colors.
    Eg: Top level of my Graph will have RED,
          Middle by YELLOW and
          Bottom part would be with GREEN.
    My Second Question is on using Multiple Graph types in same graph...
    Where data will be represented in Column/Bar Chart and in the same graph i need a curve to display the max value pointed by Column Chart..
    How can i achieve this?
    Regards
       Vinod V

  • Horizontal stacked bar chart supported?

    Hi,
    we have the requirement for a horizontal stacked bar chart. Is this supported in 12.x?
    Just to make shure bevore extending our own Chart Applets.
    Thanks,
    Matthias

    Matthias,
    There are only "Horizontal Bar" and "Horizontal Group Bar" options if you want a horizontal bar chart. The "Stacked Bar" is vertical.
    Regards,
    Kevin

  • Stacked Bar Chart

    Hi I would like to create a stacked bar chart in my report.
    It will have 2 dimensions and 1 Measure.
    Dimension 1 = Month
    Dimension 2 = Sales Item
    Measure = Sales_quantity
    I can't find anything in the user guide.
    Is this possible ?

    I am not sure what you understand as a "stacked bar chart" - There is a chart type "stacked bar chart" that we support. So you can have the Month as the x axis and the Sale Item as the different data sets.
    We are using the Oracle BI Beans XML description for our charts. The BI Beans chart builder helps to define the tags - that is stored in the Web Alternate Text of the Image that is included by the chart builder.
    The tag for the graph type is:
    <Graph graphType="BAR_VERT_STACK"/>
    To show 2 dimensions you need to modify the code the following way
    1) Adjust the row count
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'MONTH'))}" rowCount="{count(xdoxslt:group(.//ROW, 'SALESITEM'))}">
    2) Show the labels
    <RowLabels>
    <xsl:for-each-group select=".//ROW" group-by="SALESITEM">
    <Label><xsl:value-of select="./SALESITEM"/></Label>
    </xsl:for-each-group>
    </RowLabels>
    3) Add multiple rows for the SALESITEM in each column (MONTH) in the data section.
    <DataValues>
    <xsl:for-each-group select=".//ROW" group-by="MONTH">
    <RowData>
    <xsl:for-each-group select="current-group()" group-by="SALESITEM">
    <Cell><xsl:value-of select="sum(current-group()/Sales_quantity)"/></Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    The code stehms from an example I did recently for multiple line charts - so I made have some typos in there - from changing hte names. Hope it helps and you get it working.
    We should support the stacked bar charts in the builder, but it is only recently that
    people cared about the charts...
    Good luck,
    Klaus

  • Stacked Column Chart with Line

    Hi
    I need to Create a Stacked Column Chart representing 1 set of measures with a Line representing a target.
    I want to create a chart where the Sales Amount in different Sectors is represented as a stacked column and the targets are represenetd as a line.
    Currently BO supports Bar charts with line.
    Does anyone know if such a feature will be supported in the new release of BO XI. Also is it possible to raise a request for this feature to be included in the new release
    TIA

    We are also a 30 persons department (Marketing) using in the same BO charts (since 2001) quarters made of :
    - first single column ( 2014 billing in a query1)
    - second stacked column (2015 billing +2015  firm orders backlog, 2015 frame orders backlog in a query2)
    - third single column (2016 backlog in a query3)
    and a superposed budget line
    the first and the third column are offset respectively to the left and right of the second column by blank and dummy single columns of data called ghost1 and ghost2. 2016 is still empty here but the principle is clear.
    This principle is used liberally in 200 + different reports. Also with transparent columns and other complicated, but graphically intuitive reports.
    How can we continue to use this very natural representation of our several hundred million $ business. I have not found the mixed single column, stack column and line option in BO XI 3.1 . Please re-develop one asap if necessary. SAP should please please report asap on the recovery timeline of this lost feature. The switch from Visual Basic development to Java development should not lead to regression of any feature.
    Regards.
    Jean-Marc Imbert
    Marketing manager

  • Help Creating Dynamic Stacked Column Chart with Multiple Criteria

    Hi all. Im new here and hoping you can help.  I have a dashboard Im trying to rebuild from scratch (our computer had a meltdown and we lost all our files). I did not build the dashboard initially so Im trying to recreate it from the flash file we were able to recover. I have come across a chart that I just cannot figure out how to do.  I can figure out how to write an array in the Excel sheet that pulls the data into a table the way I need it to be but found out after I wrote that that Xcelcius doesn't support arrays so all my data disappears when I go into preview mode (which is especially frustrating since I can see the chart working fine in design mode).  Anyway this is what the data table looks like
    Month         Year            Company      Positive #          Negative #         Neutral #          Positive %       Negative %      Neutral %
    October      2011            CompanyA      1234                1234                 1234                 10                    10                    10
    October      2011            CompanyB      1234                1234                 1234                 10                    10                    10
    October      2011            CompanyC      1234                1234                 1234                 10                    10                    10
    October      2011            CompanyD      1234                1234                 1234                 10                    10                    10
    November  2011            CompanyA      1234                1234                 1234                 10                    10                    10
    November  2011            CompanyB      1234                1234                 1234                 10                    10                    10
    November  2011            CompanyC      1234                1234                 1234                 10                    10                    10
    November  2011            CompanyD      1234                1234                 1234                 10                    10                    10
    December  2011            CompanyA      1234                1234                 1234                 10                    10                    10
    December  2011            CompanyB      1234                1234                 1234                 10                    10                    10
    December  2011            CompanyC      1234                1234                 1234                 10                    10                    10
    December  2011            CompanyD      1234                1234                 1234                 10                    10                    10
    The original chart was built so that you would choose the month from a combo box and then the company names would show up along the X axis with their % amounts shown in the stacked column.  I know how to make a combo box work and I know how to make a stacked column chart work with static data.  I cannot for the life of me figure out how to get it to work so that when you choose the month from the combo box it filters the data.  I've tried filtered rows but I'm just missing some information that makes it work and I can't figure out what that information is.  It has to be able to get the month/year combo from the combo box and then go to the table, filter it by month and year and then create a multi-row table of data with just the company and the percent values.  Any help would be greatly appreciated!

    Which connection you are using?
    IF quite difficult if you are working under static data.

  • Stacked column chart - ssrs

    Hi,
    i had three different parameters say column1, column2, column3.
    All the columns had some options almost similar.
    column1 - x,y,a,c,d,e,f
    column2 - y,a,c,d
    column3 - y,a,c,d
    For this the requirement is to use the stacked bar chart.
    with Category Groups as Column1 & series Groups as Column2
    and on the values i need the sum of the count of individual column2 options.
    After generating the report some values are not readable.
    is there any way to do by expression to hide if the count is less than 10.
    Thanks,
    SK2811

    Hi SK2811,
    According to your description, there are three columns named column1, column2, column3 in stacked bar chart. You added column1 to Category Groups and column2 to Series Groups, then use count of column2 as values. Now the requirement is to hide the bar if
    the value is less than 10.
    According to my test, we could not set visibility of series directly by using expression in stacked bar chart. As a workaround, we could add search condition to dataset using the query like below:
    Select column1, column2, column3, count(column2) as new_column from table_name group by column1, column2, column3 having count(column2)>=10
    then modify the chart by following steps:
    In design surface, delete column2 from values in Chart Data dialog box.
    Drag new_column from dataset to Chart Data dialog box as values.
    Personally, I think your requirement is a good point.  I recommend you that submit the requirement at
    https://connect.microsoft.com/SQLServer/ . If the requirement mentioned by customers for many times, the product team may consider to add this feature in the next SQL Server version. Your feedback is valuable
    for us to improve our products and increase the level of service provided.
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu

  • Apex 3.2 SVG Chart - How to plot Stacked Bar With Negative Values ?

    Currently Apex 3.2 Flash Chart (AnyChart 3.x) does not support Stacked bars with negative values.
    I try with SVG Stacked bars with positive values only, chart ploting works fine. When I add a new series with negative values (i.e -1) and I get a blank Chart region with no error.
    Based on this statement from Apex's documentation:
    *"AxisLine Indicates zero on charts that have negative values."*
    I appreciate your help on how to translate this statement into action ?
    (i.e how to override .Axisline class in CSS section ?)
    Thank you very much for your time.

    User614143,
    try to add the minumm negative value (but positive) to the parameter for the axis.
    e.g. show value+3000 (assuming -3000 is the minimum value)
    If you don't have a limitation for the negative values, it doesn't work. (or try to calculate first the most negative value in a before header process)
    hope this helps.
    Leo

  • Problem with Stacked Bar Chart

    I have a problem with a stacked bar chart in Numbers 09. My chart is a single series with 6 categories. All of the categories have different values. The first 5 categories display correctly. However, the last category does not display in the color its supposed to, but rather shows up as white/background instead of the grey color shown on the legend. However, the value label is displayed in the proper place.
    When I select other chart types (pie, regular bar, or regular column) the category shows up like it's supposed to.
    This is kind of annoying since I would rather use stacked bar instead of a pie chart. Is there an upper limit on the number of values it can display as a stacked bar chart? Is this just a bug? Thanks!

    Here's my result with six values in a single series. I double clicked the last bar to change its colour from the default grey (which was visible) to magenta.
    Numbers 2.0.3, iBook G4, OS X v10.4.11
    (Shot in the dark:) Try double clicking the value label, then changing the order position of this item.
    Regards,
    Barry

  • Help with stacked bar chart

    Hello,
    I'm looking for help regarding horizontal stacked bar chart. Typically for stacked bars Publisher seems to want data for each stacks per row, but my data looks like this:
    <DATA>
    <ROW>
    <TYPE>Type 1</TYPE>
    <CLASS>A</CLASS>
    <TOTAL>10</TOTAL>
    </ROW>
    <ROW>
    <TYPE>Type 2</TYPE>
    <CLASS>B</CLASS>
    <TOTAL>10</TOTAL>
    </ROW>
    <ROW>
    <TYPE>Type 1</TYPE>
    <CLASS>B</CLASS>
    <TOTAL>20</TOTAL>
    </ROW>
    <ROW>
    <TYPE>Type 2</TYPE>
    <CLASS>A</CLASS>
    <TOTAL>10</TOTAL>
    </ROW>
    <TYPE>Type 3</TYPE>
    <CLASS>A</CLASS>
    <TOTAL>40</TOTAL>
    </ROW>
    </DATA>
    So each bar would be the TYPE element, and each stack within the bar would be the CLASS element.
    Here is a very crude drawing of what I would want the chart to look like: http://i.imgur.com/3gEdEQ5.png
    How can I achieve this? Thanks in advance.

    Jody,
    I'm sorry that I missed that you didn't want an overlay solution. You wrote it plainly, I just didn't read carefully.
    This is as close as I could come to how I now read your request:
    Here I have charted your Actual and a column of zeros that I have called the Goal Reference. The last column contains the goal values and I have used them as Positive Custom Error Bars for the Goal Reference series. I'm not thrilled with the look, but unless I know for sure that I'm on the right track, I'll leave it there for now. The width difference between the goal and the actual can be adjusted.
    Jerry

Maybe you are looking for