Stacked bar chart to show vertically

I want to show stacked bar chart vertically.
Requirement is
Mat1 - WIP Qty 14, Inv 20, Finished 22 
Mat2 - WIP Qty 16, Inv 10, Finished 18  
We want to display chart where Material will be displayed on Y-axis and diffrent Qty will be shown as one bar for each material stacked like stacked bar starting from left to right.
We did this using stacked bar but in that case the material will be displayed on X-axis and bar is showing from bottom to top. Is there any way we can rotate this chart by 90 degree?
Nilesh Modi

Hi Nilesh,
I do not believe that there is an out-of-the-box feature that would suffice your needs.
However, the work-around is relatively simple, although it needs a bit of coding.
If you are sourcing the image directly, the image could be refreshed using Javascript settimeout function.  If you are sourcing the location of the image from an iCommand, you could use the update event of the applet.
Besides ... if everything was too easy, there would be no need for you and I
Cheers,
Jai.

Similar Messages

  • Stacked Bar Chart in Explorer

    BO Explorer 4.1 SP4 (no fix packs)
    I have an issue where I cannot create a stacked bar chart in Explorer. Taking a simple data-set (below screenshot), I wish to have a stacked bar chart that will show this data i.e. one bar per year showing as a %. Is this possible?
    Unfortunately the result I am getting is show below, which obviously isnt correct

    Yes there are ways to get stacked bar chart !
    To get a better idea, just have a look on these threads
    Stacked bar chart to show vertically
    Re: Horizontal stacked bar chart supported?
    Regards
    Ram Upadhyay

  • How to create stack bar chart on answers that shows % and counts?

    Hello guys
    I currently have a table that have several columns, each column represent one product name, and one column name "units" indicating how each product is sold...
    The requirement is to create a chart view with stack bar that shows the percentage of each product''s unit sales.
    Now we are discussing whether we should customize the table to consolidate all these product columns into one "product desc" column with all the product names as row in order to fulfill this requirement..
    PLease let me know whether this is needed or not... ALso, how would I be able to create stack bar charts that shows the total sales against each product sales in percentage and counts?
    Please let me know, I really appreciate it

    I tried to do this and was a bit successful. I used the paint catalog. Created a a request with 6 columns assuming units and dollars be stacked and Year ago units to be a line:
    Brand Units Dollars 0 Year_Ago_units 1
    Added a new request (Combined with similar request and selected paint subject area): Now in this request my columns are:
    Brand 0 0 Year_Ago_Dollars Year_Ago_units 2
    Assuming Year_Ago_Dollars be standard in your case.
    Created a chart view with brand and 1 on x axis and Units, Dollars, Year_Ago_Dollars on y axis and line as Year_Ago_units.
    Now able to see what I am expecting. May be you need to tweak a bit more according to your requirement.
    Let me know if this is of any help!
    Thanks.
    Edited by: Venkata on Sep 30, 2010 12:11 PM

  • Cannot build vertical stacked bar chart!  HELP!

    I have a simple stacked bar chart I want to build with month/year across the bottom that shows the number of orders by category (A,B,C and D).  I understand that I must have 2 dimensions and 1 measure.  However, the chart is not counting the number of orders by category correctly.  I cannot find anything on the net about how to create a vertical chart and troubleshooting why it won't work.
    Here's an Excel Pivot of the data:
    Year/tmonth        A     B     C     D     
    2009/12                    1     1
    2010/02          1     1          2
    2010/04               1          1
    2010/06               1          1
    2010/07        2          1          3
    Grand Total        2     1     4     1     8

    OK, I've used your formula in my measure variables as follows:
    var_stackA =Sum(Count([CAT])Where([CAT]="A"))
    var_stackB =Sum(Count([CAT])Where([CAT]="B"))
    var_stackC =Sum(Count([CAT])Where([CAT]="C"))
    var_stackD =Sum(Count([CAT])Where([CAT]="D"))
    This is my result (as long as I leave the notification in the table):
    Notification     var_chart_receiptmonth     CAT     var_stackA     var_stackB     var_stackC     var_stackD
    200340495                              2009/12          D                             1
    200364557                              2010/02          B                 1          
    200366789                              2010/02          C                       1     
    200372262                              2010/04          C                       1     
    200427391                              2010/06          C                       1     
    200430078                              2010/07          C                       1     
    200433242                              2010/07          A          1               
    200434096                              2010/07          A          1
    This is my result (when I take the notification out):
    var_chart_receiptmonth     CAT     var_stackA     var_stackB     var_stackC     var_stackD
    2009/12                               D                                                                              1
    2010/02                               B                 1          
    2010/04                               C                       1     
    2010/06                               C                       1     
    2010/07                               C                       1
    Where did the A category counts go??
    I've got 2 universes:  GR_MRO Notification Tasks and GR_MRO Operations Details
    I'm merging on two dimension variables (notification and sales organization)
    My report data is filtered using the following 2 filters:
    var_A = 1    calculated via =If([Task Code]="2/CT-HOLD/RTQT";1;0) - detail variable
    var_RTQTDate > 1   calculated via =If([Task Code]="2/CT-HOLD/RTQT";Min([Created On]);0) - measure variable
    Task Code is a dimension variable from the GR_MRO Notification Tasks universe
    A few more calcuations for your review:
    CAT = If([var_DaysAged2]<6;"A";If([var_DaysAged2]<11;"B";If([var_DaysAged2]<21;"C";"D"))) - dimension variable
    var_Days Aged2 =If(IsError(DaysBetween(Min([var_corereceiptdate]);Min([var_RTQTDate2])));0;DaysBetween(Min([var_corereceiptdate]);Min([var_RTQTDate2]))) - measure variable
    var_corereceiptdate =[Receipt Date] - detail variable
    [Receipt Date] - variable from the GR_MRO Operation Details - dimension variable
    Edited by: Amy Jones on Jul 29, 2010 11:18 AM

  • Stacked bar chart showing zeros when there is no data

    Hi,
    I am developing a stacked bar chart which plots month vs sales of 3 different products.
    I am showing data points and the total sales on chart.  Every thing looks good except the zeros displayed on the chart if there are no sales for a product for a particular month... how to get rid of these zeros ? i mean how to display the value only if there is some data ?
    Thanks

    Sounds like you have a left outer join from your product table to the sales data. Thus product is listed even when no data present.
    Try changing join to Equal
    Ian

  • Vertical Stacked Bar Chart

    I have created Vertical Stacked Bar Chart and would like to put some space between value and value title for Y axis
    Thanks

    I believe you are going to have to edit the XML, scroll to the bottom of the Chart Attributes page and select Yes for "Use Custom XML", then you will have to change the chart area x/y/width/height. (you can do the same for the legend as well)

  • 3.1 Stacked bar chart shows no color by default - Override possible?

    I noticed in Studio 3.1, stacked bar charts show no color by default. I also read in the documentation that this is the default behavior:
    "The chart is initially displayed with no color dimension selected. End users can then select a color dimension. The chart is also reset to display without a color dimension whenever the chart configuration is changed."
    I noticed that the chart is also reset to display no color when the user logs off. This is rather annoying for users if they must select the color indicator on all charts every time they log on. Is there a way to override this default so that the chart displays color by default? That's how it worked in 3.0.

    Unfortunately, this can't be overridden for 3.1. We have heard similar feedback from others, and are looking into it for the future.

  • Show Data labels on stacked bar chart

    Hi All:
    I am trying to show an inside data label on a stacked bar chart.  For some reason Flex 4 does not like labelPosition="inside" in the mx below.   Thanks  Bob
    <mx:BarChart 
    id="ProxChart" x="85" y="76" height="192" width="630" type="stacked">
    <mx:horizontalAxis>  
    <mx:LinearAxis maximum="20"/>  
    </mx:horizontalAxis>
    <mx:series>
    <mx:BarSeries id="MySeries" displayName="Test" xField="" labelPosition="inside"/>

    This will do it.
    import mx.charts.*;
    private function myLabelFunction(element:ChartItem, series:BarSeries):String
      return(element.item.toFixed(1));
    <mx:series>
      <mx:BarSeries id="MySeries" displayName="Test" xField="" labelPosition="inside" labelFunction="myLabelFunction"/>

  • Stacked Bar Chart Order

    I am doing a stacked bar chart and I needt to control the vertical order of the bars. It seems to be always sorting alphabetically by my descriptions. My descriptions are 'No Mastery','Pre-mastery' and 'Mastery'.
    I want:
    Mastery
    Pre-Mastery
    No Mastery
    It always shows as:
    No Mastery
    Mastery
    Pre-Mastery
    How can you control this?

    Thanks Srinivas,
    Thank you for your reply! that solution indeed changes the alphabetical sort, the problem is that the order is now fixed (i.e. "Mastery" is always number 1)
    I need them ordered by a particular column (for example total sales) I guess I can use ranks instead of fixed numbers (i.e. concatenating the calculated sales rank instead of always using "1" for "Mastery").

  • Help with stacked bar charts

    Help..................
    I am definitely missing something.
    I want to do something like the attached, stacked bar chart example.  This is pretty much
    one of the examples.
    What I need is for a horizontal chart instead of a vertical.  When I right click the legend and
    chose bar charts, it only shows vertical.  After messing with this for a couple of hours,
    I give.
    Any suggestions would be much appreciated.
    Attachments:
    Stacked Bar Graph.vi ‏43 KB

    Another stacked bar graph plea for help!
    My scenario: I am recording 3ph current values (red, yellow, blue) on multiple circuits for some electrical tests we do.
    I want to present this data on a screen that is most visible from a distance, so the approach I have taken when I last wrote the software in Delphi was to have each 3 ph circuit represented by a 3 channel bar chart where the three channels are stacked front to back in order of magnitude. This allowed me to add multiple 3 channel circuits next to these to fill the screen from left to right.
    See attached Excel file to make it clear. I hope!
    The main issue I see is that the colour of plot needs to move front to back with the magnitude. ie Red is not always the front plot, it is the 'smallest' of the three plots that stays at the front.
    Some tests we do, may have 12 x 3ph circuits of this type which fills the screen up and can make it very busy. Rather than having 36 plots left to right, by stacking them in groups of three, I reduce the left to right number to 12 plots. The screen can then be viewed from a distance much easier.
    Any suggestions? I am expecting I will need to write my own routine for this, which if I do, i am quite happy to share when complete.
    See (and run) the attached LabVIEW code of my progress so far.
    thanks  Adam
    Message Edited by tca-adam on 11-16-2006 01:27 PM
    Attachments:
    Stacked Bars example.xls ‏24 KB
    Create CurrBal Graph Data.vi ‏21 KB

  • Horizontal Stacked Bar Chart

    Hi, forum.
    I would like to make "horizontal" stacked bar chart.
    But following chart looks decidedly wrong.
    Is there any way to create it?
    String austria = "Austria";
    String brazil = "Brazil";
    String france = "France";
    String italy = "Italy";
    String usa = "USA";
    NumberAxis xAxis = new NumberAxis();
    CategoryAxis yAxis = new CategoryAxis();
    StackedBarChart<Number,String> bc = new StackedBarChart<>(xAxis,yAxis);
    bc.setTitle("Country Summary");
    xAxis.setLabel("Value"); 
    xAxis.setTickLabelRotation(90);
    yAxis.setLabel("Country"); 
    yAxis.setCategories(FXCollections.observableArrayList(austria, brazil, france, italy, usa));
    XYChart.Series series1 = new XYChart.Series();
    series1.setName("2003");      
    series1.getData().add(new XYChart.Data(25601.34, austria));
    series1.getData().add(new XYChart.Data(20148.82, brazil));
    series1.getData().add(new XYChart.Data(10000, france));
    series1.getData().add(new XYChart.Data(35407.15, italy));
    series1.getData().add(new XYChart.Data(12000, usa));     
    XYChart.Series series2 = new XYChart.Series();
    series2.setName("2004");
    series2.getData().add(new XYChart.Data(57401.85, austria));
    series2.getData().add(new XYChart.Data(41941.19, brazil));
    series2.getData().add(new XYChart.Data(45263.37, france));
    series2.getData().add(new XYChart.Data(117320.16, italy));
    series2.getData().add(new XYChart.Data(14845.27, usa)); 
    bc.getData().addAll(series1, series2);
    primaryStage.setScene(new Scene(bc, 300, 400));
    primaryStage.show();This code is based on JavaFX horizontal bar chart sample code.
    http://docs.oracle.com/javafx/2/charts/bar-chart.htm#CIHJFHDE
    I can create vertical (standard) Stacked Bar Chart.
    Mac OSX
    Java7 u4
    JavaFX 2.1
    Thanks in advance.

    Thank you for your answers.
    What is the error message, if any, that you are receiving?I have no error message and I can run it.
    But displayed chart is this.
    [http://postimage.org/image/tvtna1ish/]
    except for on one bar the second series stack does not displayIs that the same chart of mine?
    I will try looking for it in jira.

  • 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

  • Stacked bar chart with negative values

    Hi,
    trying to create a stacked bar chart I only get a grey picture. Reason: my data series provides positive and negative values.
    Can anyone tell me a trick how to fix this problem?

    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

  • Stacked bar chart with single group

    Post Author: rt50896
    CA Forum: Charts and Graphs
    Dear all,   I have a question about stacked bar chart with one group value(normally more than one group value is ok)   ex. YYYYMM      PRODUCT    AMT        -
            200601          ABC            1000        200602          ABC              300        200603          ABC              500       .....   the data collection is as above,then chart display: x-axis as YYYYMM,y-axis as PRODUCT...   but why this case the bar chart color not the same for each YYYYMM? and legend not display one PRODUCT as ABC only?   the bar chart display like this:   http://tkfiles.storage.live.com/y1po30C7CH6eW9phoLAXH89MBGwFLYdEZ3kOMQXUQzDzwM-VNnffibEwqPI8TIUNBm1f7uKTjnkaOI   ps. crystal report version is 8.5Regina

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

  • Stacked Bar Chart with Multiple Series Sort Question

    Hi,
    Apex version 4.1.1
    I have a stacked bar chart with three separate series, one showing customer effort, another showing project effort and the third showing other effort, summarized by calendar week. The x-axis of the chart is the calendar "week of" date, and the y-axis has a bar for each of the three series. Not every type of effort occurs every week.
    When AnyChart renders the chart, the order of entries on the x-axis seems to be dependent both on which series are present in a given week as well as the "week of" date. Weeks with all three series sort in order by calendar date, followed by weeks where just the 2nd & 3rd series are present, followed by weeks where just the 3rd series is present. See this [url http://tinypic.com/r/b9zdt/6] picture of the chart  noting the "week of" dates. Note that the months go Sep-Oct-Nov-Aug-Oct.
    Is there a way to force AnyChart to sort the x-axis in chronological order regardless of whether there is data for all three series for a given week? I have looked through the AnyChart XML reference but cannot find a way to do this.
    Incidentally, I can solve the sorting problem by combining all three series into a single query:
    select
      null as link,
      week_of as label,
      sum(customer_effort) as "Customer Effort",
      sum(project_effort) as "Project Effort",
      sum(other_effort) as "Training, Admin and Other Effort"
    from ...But if I do this, I cannot figure out how to have each bar on a given week link to a different detail page, e.g., if I click on a bar representing customer effort I want to link to one page, but if I click on a bar representing project effort, I want to link to a different page. I have had a look at the [url http://apex.oracle.com/pls/apex/f?p=36648:59:1570983160946101::NO:::] chart examples  posted on apex.oracle.com, but cannot figure out how to apply to multiple series in a single query.
    Thanks,
    Mike

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

Maybe you are looking for

  • To delete sales order using BAPI_SALESORDER_CHANGE

    HI ,        I am using BAPI_SALESORDER_CHANGE to delete a bulk of order lines for an order.But the issue is...the entries are deleted in VBEP and VBUP tables for all the order lines where in VBAP only few order lines are deleted.This is happening rep

  • When I send an email it appears in my inbox

    Is there a way to stop this.

  • How can I see my iPhoto keywords in Aperture

    I have iLife 08 and Aperture 1.5.6. I thought from the training video I would be able to see my keywords from iPhoto in Aperture. When I imported from iPhoto to Aperture, I don't even see my smart albums in there.

  • Removing Echo (Audition via Premiere Pro CC)

    I posted in the Premiere Pro forum, but it dawned on me that maybe Audition could help me fix this problem.  Here is my post from the other forum. I'm not even sure this is considered an echo or if there is another technical term? I am trying to put

  • FC Category Builder - Accounts Families

    Changing Definition (Long Description) in the view Account Families of Category Builder take a lot of time (about 4h). Have you any ideawhat it could come? SAP Financial Consolidation 10.0 SP 13 patch 2. SQL Server 2008 R2 US Windows Server 2008 R2 S