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

Similar Messages

  • 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

  • Using a Stacked Bar Chart With an Accordian Menu

    I am having difficulty using a stacked bar chart with an accordian menu. I am able to have one stack bar populate but the other four stays blank. There seems to be an issue with my destination. I dont think it likes that my destination is more than one row and one column. Is there a way to fix this?

    Hello,
    I think there may be an issue in how your model/Accordion Menu was configured.  What insert option are you using?  Your destination should only be 'one' row OR 'one' column at the most.
    Thanks,
    AJ

  • Numbers Charts:  Stacked bar chart with two sets of data

    Hi....newbie with first post
    I'm trying to create a stacked bar chart with two lots of comparative data.
    So, there is Basic + Overtime for April 2010 as one stack (ie the basic is one colour, stacked on top is the overtime in a different colour)
                      Basic + Overtime for April 2011 next to it.
    I can get April figures next to one another as four separate columns (2 x basic, 2 x overtime), or I can get all four figures in a single stack, but I can't to two columns (one for each year) of basic and overtime.
    Any ideas?

    UK,
    What you are trying to do will require that you interleave the two sets of two-series data into one longer two-set series, and then plot just the one pair of series. Clear as mud?
    What I'm saying is that you have to fake out the program into thinking that you have just two sets, not four.
    You will have one series that has, for instance Apr 2010 Basic, Apr 2011 Basic, May, 2010 Basic, May 2011 Basic, etc.. This other series in that chart will have Apr 2010 Overtime, Apr 2011 Overtime, May 2010 Overtime, May 2011 Overtime, etc.
    The bad thing here (I'll anticipate your first complaint) is that 2010 and 2011 data will have the same color for Basic and another color will be assigned for both 2010 Overtime and 2011 Overtime.
    To get separate color sets for 2010 and 2011 data pairs, you will have to create two charts and overlay them. Both charts would be built in the alternating year format described above, but in one chart all the 2010 data would be blank and in the other chart all the 2011 data would be blank, leaving spaces in the chart for the data from the other chart to nest in.
    Jerry

  • Stacked Bar Chart with data from a Web Service

    Hi,
    I'm working on Dashboard Design (version 14.0.1.287) and I'm trying to create a chart linked to data from a webservice.
    With a Year in input, my webservice gives an Amount per Cities and Products
    Data retrieved look like this (Sheet1) :
    Paris          Tablets          45
    Paris          Laptops          12
    Paris          Cellulars          89
    New-York     Tablets          56
    New-York     Laptops          36
    New-York     Cellulars          1
    Londres          Tablets          150
    Londres          Laptops          3
    Londres          Cellulars          45
    Then I use a Pivot Table (created manually in Excel) looking like this (Sheet2) :
                   Tablets     Laptops     Cellulars
    Paris          45          12          89
    New-York     56          36          1
    Londres          150          3          45
    The chart is a Stacked Bar Chart plugged on the previous Pivot Table
    I create 3 series (one per Product), values (X) are set with Amount
    Category labels (Y) are set with Cities
    The goal is to have a dynamic chart (series and categories must update if a new city or a new product appears)
    So my question is : how can I set up the chart directly with data retrieved from webservice on Sheet1?
    Thx a lot !
    Nicolas
    Edited by: nicolasheurtevin on Sep 14, 2011 4:58 PM

    hi
    First thing , bad news if you are using .Net framework 1,
    just forget it, Flex 2 doesn't work well with framework 1, but 2nd,
    good news, if you want to use webservices, you'll have to make an
    array of objects on .Net Side and send it as objects to flex, i saw
    an example on the net but i can't seem to remember where, on the
    other hand,if you want to simply use, like i do, HTTPSERVICE its a
    very nice way to talk with .Net and you can see my example here
    http://flex1-for-dummies.blogspot.com
    By the way, in your code, you have a request tag , but you
    aren't requesting anything, because if you were you would have to
    make like this
    <mx:request>
    <Artist>{yourinputtext.text}</Artist>
    </mx:request>
    So if you don't have an input text, you don't need a request
    tag, only the operation.

  • Bar chart with hyperlink values in X-Axis in XIR2

    Hi folks,
    I am trying to create a bar chart which shows values for 2 measures using one dimension in the X-axis. I want an hyperlink associated with the values in the X-axis because I want to implement the ability of drilling through to another report when I click any of those values. That second report will show information filtered by the value of the dimension I clicked on.
    I was reading a bit about it and it looks like it is not possible. The workaround provided was to make a table aside the chart and implement that behaviour in the table, not in the chart.
    Anyone of you could confirm this? Any of you has another ideas?
    Thanks a million
    J. Russell

    Hi Arif,
    That is one of the work-arounds I have in mind.
    Thanks for your answer
    J. Russell
    Edited by: John Russell on Aug 26, 2009 10:59 AM

  • Stacked bar chart with percentage in Xcelsius

    Hi,
    I want to  create a stacked bar chart(Horizontal) for the following data
    Project 1  --- >    2140, 177,  288, 135
    Project 2  --->     856, 44, 658, 120
    For following status respectively
    Completed,      Pending ,Partially completed,  Not Started
    Project 1 and Project 2 will be on Y axis.
    I want this data to be divided in percentage.
    as shown below
    Project 1 |___135_____|___177_____|______2140_______|
    Project 2 | __44__|___120_____|________856__________|
    0              20           40 ........                          100
    How to achieve this in xcelsius?

    I don't understand why you are soying it is not possible.
    Actually I think it is and quite easily but maybe i missunderstand the question.
    But anyway, here is what I would do:
    In the spreadsheet, you can calculate the percentage of each status per project:
         Completed     Pending     Partially completed     Not Started
    Project 1     78.10%     6.46%     10.51%     4.93%
    Project 2     51.01%     2.62%     39.21%     7.15%
    And then select these data for the stacked bar chart. Here you get the graph you are looking for.
    Oli

  • Stacked chart with negative values

    Is it possible to create a stacked verticle bar chart that can display a negative value below the bottom line? Currently, all of my my charts are displaying negative values as if they were positive and the only way to know that the value is negative is to hover over the bar and read the hint.
    Thanks in advance for your help,
    Todd

    Hi Todd,
    Depending how you look at costs, it's not expensive.
    A single developer license of Anychart 5 costs USD 499.00 - 15% if you use the APEX15 promotion code.
    If you spend a couple of days trying to integrate with something else you easily went over that amount.
    So really, it depends in which perspective you look at it. The workaround with Excel, is that really an option? How long would it take for every person wanting to see that screen? How long would it take before you get to $440?
    Anyway if you wait till next year, Anychart 5 is included in APEX 4.0 and you have it out of the box.
    Just my thoughts,
    Dimitri

  • Stacked bar chart with custom x axis labels

    Is there a way to build this simple chart in labview that I did in Excel?  I need to have many x axis labels and there could be from 5 to 100 of them depending on the data set. 
    Attachments:
    Excel.JPG ‏33 KB

    Hi id,
    Thank you for your response. I hope you are doing well.
    There is an example in the LabVIEW Example Finder (Help>>Find Examples..). It is titled, Stacked Bar Graph. You can search for it if you switch tabs in the Example Finder window. This should help you create a stacked bar graph. To help you with your veritcal axis labels, here is a knowledge base link that details the process:
    How Can I Customize the X-Axis Labels On My LabVIEW Graph/Chart So They Appear Vertically?
    http://digital.ni.com/public.nsf/allkb/1F7C1B089E4​5908E86256C8C0051894A?OpenDocument
    Let me know if these examples help.
    Best regards,
    Anna L
    Applications Engineer
    National Instruments

  • Had a hard time setting up a bar chart with date value

    Just wanted to achieve this simple chart with a date value instead of text string or numbers, which is quite simple to achieve in Excel see screenshot.
    With flex 4, here's my code snippet, what do I missed? Please give me a hand, thanks  alot.
      [Bindable]
       private var scheduledata:ArrayList = new ArrayList([
        {name: "ward1", meeting: "1/1/2008", seminar: "8/12/2008"},    
        {name: "ward2", meeting: "2/1/2009", seminar: "9/24/2009"},
        {name: "ward3", meeting:"3/1/2011",  seminar: "10/30/2011"}
      <mx:BarChart id="bar" height="100%"
          showDataTips="true" dataProvider="{scheduledata}">
       <mx:verticalAxis>
        <mx:CategoryAxis categoryField="name"/>
       </mx:verticalAxis>
       <mx:series>
        <mx:BarSeries yField="name" xField="meeting" displayName="meeting" />
        <mx:BarSeries yField="name" xField="seminar" displayName="seminar"/>
       </mx:series>
      </mx:BarChart>

    Thank you all for those who tried to help. I figured it out by picking it up from (http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf65a29-7ffb.html). Just need to add a DateTimeAxis to it! Though there's bug to it that the datetimeaxis format will only display mm/yy regardless you chose Days, Weeks or Months. Somehow I will need to tackle that. 
    <mx:horizontalAxis>
    <mx:DateTimeAxis dataUnits="Days""/>
    </mx:horizontalAxis>

  • Non-stacked bar chart with subgroups

    I want to create a regular bar chart (non-stacked) and display subgroups on the x-axis ..... that is, for each group on the x-axis I want to display multiple sub-groups within the major groups ..... I saw only one post regarding this but tried what I thought they were saying but it did not work ..... also I do not want to create a stacked chart, just a regular non-stacked chart
    thank you very much
                           subgrp1   subgrp2                          subgrp1      subgrp2                   subgrp1     subgrp2
    x axis  -
                                   group 1                                         group 2                                       group 3

    Please add the solution how did you resolve this issue to this forum
    Thaknks
    -p

  • Stacked Bar chart does not overlap series

    I have a stacked bar chart with to values "Invoiced" and "Budget" and 2 categories YEAR and MONTH - the problem is that the bar chart shows the values Invoiced and Budget in Top of each other and Not overlapping each other . ex:
    NOW:  Invoiced =  200   Budget = 300   - Bar chart shows a column of 500 for the month (NOT correct)
    What I want is to show 1 column for each month where up to 200 the colour is green and from 200 to 300 the colour is blue for example....
    How to achieve this ?

    Hi HCMJ,
    By default, the bar value will not overlapping each other in stacked bar chart, and we cannot increase or decrease the gap between the series in Reporting Services.
    Based on my research, I find a workaround can achieve your requirement, please refer to the steps below:
    Create a dataset with the query below (sample data):
    CREATE TABLE #temp(name nvarchar(50),time nvarchar(50),value int)
    INSERT INTO #temp VALUES     ('Invoiced','YEAR',100),('Invoiced','MONTH',200),('Budget','MONTH',300),('Budget','YEAR',600)
    SELECT * FROM  #temp
    Insert time field to Category Groups pane, and change the group name to “time”.
    Insert value field to Values pane, then change the value to like below:
    =min(Fields!value.Value,"time")
    Insert another field with the following expression to Values pane:
    =max(Fields!value.Value,"time")
    Change the type of chart from Stacked Bar Chart to Range Bar Chart.
    Right-click the Series field to change the Fill color to #9bff8c00 (DarkOrange with 155 Transparency) or any color with Transparency you like. Now we can get the following:
    Preview it and get the following result:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • BIP 11.1.1.7 - Stacked Bar chart data label not visible in pdf

    Hi all,
    I have a report built with the online editor. This contains a stacked bar chart with percentage values in a repeating section and I made the property DataVisible=true.
    When I view the report in interactive mode it all works: I can see the data label for every value of the parameter but when I view in any other format (PDF, PPT, ecc..) the data labels are visible in the first chart (for the first value of the parameter) while in the other charts they aren't. This doesn't happens for other types of chart, for example with a pie chart.
    Can someone help me or tell if it is a bug?
    Thanks,
    Micaela

    Hi Mitalee,
    Would you please check the PAM at https://websmp108.sap-ag.de/~sapidb/012002523100018972812014E
    On page 11 it says 64 bit IE11 is not supported; is your IE11 32 bit or 64 bit?

  • Stacked Bar Chart - Values of the Bar

    Hi,
    I have a stacked bar chart with columns as "Project Name", Rows as "Stages", and measures as "Cost". I have different stages in the X axis and the Projects are stacked for each stages. When I scroll my mouse over the stacks it shows me the "Cost" of the project. Is there a way I can show both the "Project name" and the "Cost", when I roll my mouse over the stacks?
    Thanks for your time and help.

    Hi ssk,
    I assume its 10g and is this what your looking for http://obiee101.blogspot.com/2008/01/obiee-xy-and-data-in-mouse-over-label.html
    UPDATED POST
    It is the same procedure for bar charts...You need to play with it,never i had this requirement....give a try
    Cheers,
    KK
    Edited by: Kranthi.K on Jun 27, 2011 8:40 PM

Maybe you are looking for

  • DATE functions - Weekly report

    Please take a look at this loop that sort of plays with dates. The values returned are as follows lv_wreport_end_date = 04-APR-04 lv_wreport_start_date = 03-APR-04 I was expecting to get the first week of April ie, 01APR04 to 04Apr04. IF (To_Char(lv_

  • Windows 7   " Adobe Photoshop CS3 has stopped working "

    Okay let me stir up a whole new kettle of fish WINDOWS 7 VS CS3 PHOTOSHOP. I have Windows 7 Ultimate Edition 64bit. I am running (or trying) CS3 Master suite. Most all progams function except Photoshop. I try to load it and I get "Adobe Photoshop CS3

  • What happened to photo albums?

    I have two sites that have photo albums. I can play around with it no problem in iWeb, but when I publish and go to the site, the photo albums are gone. I had these sites working just fine until the change over to Mobile me. Then the albums disappear

  • How to disable maintaining select option

    Hello All, I have select option in my selection screen. When i put some value in my select option and double click on it,one small window gets opened for maintaining select option. I want to disable this window . Can any one help me out on this. Than

  • Java.lang.UnsupportedClassVersionError: - Please do help !

    Hi, I am trying to run the following program. I am using Windows XP and using java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) public class OutFi