Stacked bar chart colors

Post Author: mecca
CA Forum: Charts and Graphs
I hope someone knows the answer to this question. Can you change the color format of a stacked bar chart line individually (not the whole lines color), I need to hide the min field by using the color white, but when I set the format color to white based on the value of greater than 0, then whole stacked line turns white. I have tried both by series and by group.
thnx in advance,
Mecca

Post Author: Dan3D
CA Forum: Charts and Graphs
Not sure I understand. Is it a Stacked BAR chart? a Stacked LINE chart? a combo bar/line stack chart?
Take a look at www.threedgraphics.com and go to CRChart and see if any of our examples look close???
-Dan @ 3D

Similar Messages

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

  • Color code a stacked bar chart?

    Post Author: mmueller12
    CA Forum: Charts and Graphs
    Is there a way to color code a stacked bar chart?  We need to have one horizontal bar with the colors listed below.  In other words, we need to color code a date range to a specific color based on the "Color" column.  I have it to the point of different colors for each date range in a single stacked bar, but cannot figure out how to link to a specific color.
    ID
    StartDate
    EndDate
    Color
    1
    10/18/2007
    11/15/2007
    YELLOW
    1
    05/31/2007
    10/18/2007
    YELLOW
    1
    03/08/2007
    05/31/2007
    YELLOW
    1
    01/25/2007
    03/08/2007
    YELLOW
    1
    06/09/2006
    01/25/2007
    ORANGE
    1
    03/17/2006
    06/09/2006
    RED
    Thanks in advance,Melissa Lord

    Post Author: mmueller12
    CA Forum: Charts and Graphs
    Thanks for the replies - here are the answers to your follow-up questions:
    Lugh - I am using Crystal v10, I don't find a "Color Highlight tab".
    Ranjit - I found this tab, but the only "conditional format" must be based on the start date (x-axis) which is not the field that I need to use to change the color.  It appears that I can only use the x-axis values when conditionally formatting a bar, which is not what I need.  I need to use a field not actually used in the graph to conditionally format the colors.

  • Crystal Report Version 11.5.8.826 - Color Sorting - Stacked Bar Chart Issue

    Hi All,
    I have issue on sorting the color on stacked bar chart.
    Below steps are not reflect the color sorting.
    1. Right click on chart area in the report
    2. Select chart expert
    3. Go to Color Highlight tab
    4. In the item list, change the sequence of color
    Is there any way to sort the color on stacked bar chart?
    Please advise, thank you.
    Regards, Sumardi

    hi,
    You can right click on each bar individually,
    Format Series Riser -> Fill -> Foreground Color.
    This will apply the required colors.
    Also, if you have any color standards, try to create  a sample report with this kind of Chart and specify the colors individually.
    Right Click the chart -> Save as Template.
    In future, if any other reports have Stacked Bar Chart with same color standards, you can directly re-use this template.
    Regards,
    Vamsee

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

  • CR XI Issue with Stacked Bar Chart

    I'm hoping this question is easy.
    I'm having trouble creating a stacked bar chart.
    I want to do a Bar Chart which will show one "Bar" for each Priority (Priority 1, 2, 3, 4 or 5) and then for each Priority divide out, by color, the Status (Submitted, Reviewing, Working, Testing....).
    For example, let's say that there are 10 Priority 1 records. Of those 10, 5 have a Status of Submitted, 3 are being Reviewed and 2 are being Tested. Then the Priority 1 bar should show a count of 10 which is comprised of 3 colors which will correspond to the 3 Statuses that make up the 10 Priority 1 records.
    I can't get the Stacked Bar Chart to display this correctly.
    In the Chart Expert, the Data Tab says:
      -- On change of: Priority - Ascending
      -- Show Value(s): Count of Status
    When I run the CR, it get's the Priority correct and I see the total for each Priority. But it does not then take each Bar and color code by Status.
    Any ideas how to get it to do that?
    Thanks,

    Hi,
    You should have in On change of field a sub group as well.
    For stacked bar charts it is necessary to have a group and a sub group fields in on change of section.
    Say you have the month.
    no of priority1 in jan etc.
    Hope that helps!!
    Thanks
    -Azhar
    Edited by: Azhar on Aug 4, 2009 8:23 AM

  • Stacked Bar chart mouseover options

    I am using the stacked bar chart. When mousing over the bars, it currently displays the totals on the very top of the bar. Is there a way to make the total display inside (or at the bottom) of the bar?

    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

  • Stacked bar chart errors

    I am creating a stacked bar chart and put a max row count of 50, but the graph actually shows more than 50. After the 50 data points, all of the rest of the dates along the x axis are out of order. Is there another location i also need to enforce this max row count?

    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

  • 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

  • Question regarding 3-D stacked bar chart

    Hi All,
    I'm creating a report that has a view of a horizontal stacked bar chart. I was wondering if there's a way to portray that stacked bar chart as a 100% stacked bar chart like in ms excel?
    Thanks,
    Wayne

    Hi Wayne,
    I'm not sure if I understand your query correctly but I'll have a go at answering your question. I'm guessing that you have a horizontal bar chart that looks something like this, even after you've indicated that you want it to be a stacked chart -:
    |{color:#ff0000}@@@{color}
    |{color:#008000}#########{color}
    |{color:#ff00ff}++{color}
    |{color:#0000ff}===={color}
    However, you want it to look more like this -:
    |{color:#ff0000}@@@{color}{color:#008000}#########{color}{color:#ff00ff}++{color}{color:#0000ff}===={color}
    For the purposes of the example, let's assume you are using two fields for the bar chart - Account Type and *# of Accounts*. By default, your chart options would be set such that Account Type is the value used for the Y axis and *# of Accounts* is the value used for the X axis. Indicating that you want a stacked graph results in the first graph example I listed above. However, if you indicate that Account Type is the value to be used for the measure labels and that there is no value for the Y axis, then a stacked graph will look like the second graph example I listed.
    Hope this helps to answer your question.
    Regards,
    Cameron

  • BAM-Stacked bar chart

    hi,
    how to set Stacked bar chart horizontally instead of vertically(by default).

    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

  • 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

  • Formatting the legend of a stacked bar chart

    Hi,
    Is it possible to change/edit the legend part of a stacked bar chart right now I am getting the legend as"
    [Color Code1]                   Sum of [TableName].Column Name1
    [Color Code2]                   Sum of [Table Name].Column Name2
    [Color Code3]                   Sum of [Table Name].Column Name3
    etc...
    and I would like this to be displayed as
    [Color Code1]                   Column Name1
    [Color Code2]                   Column Name2
    [Color Code3]                   Column Name3
    Thanks,
    ii xi
    Edited by: ii.xii on Jan 9, 2012 4:47 PM

    Well, the only way to edit that is to select the Legend entry (In Preview Mode Only) > Right-click > Edit Axis Label.
    You would need to do this for every Legend entry.
    -Abhilash

  • Repositioning datalabels on 3-D stacked-bar chart

    I am trying to reposition value datalabels on a 3-D 100%-stacked-bar chart.  I am using Excel 2010.
    I am preparing charts for the age distribution and the race/ethnic distribution of new students, among dozens of others.  (Printed, the workbook is over 100 pages, with more charts to be added!)
    Each series  (for example, "25 to 29" or "Asian")  has its distinct color.  My boss has stipulated 12pt bold type, but some points are so small that the datalabels are larger than the point.  As a result, he
    wants the datalabel filled with the category's color.  He also wants datalabels for points with 0 values displayed  (for instance, "Over 50" or "Not Reported")  inside the bar.
    On a 3-D bar chart, the middle of a datalabel is positioned at the vertical middle of the point and at the horizontal middle of the face of the point  (not the middle of the entire point, thus excluding the sidewall).
    The 0-valued points are usually at the top or bottom of the bar.  With several categories, inserting the "0" or small-value label at the extreme of the bar often overwrites one or more other labels.  My boss wants the second label moved
    below the first, etc.
    I have used the eyeball method to adjust the datalabels, but I frequently either overlap another label or allow the contrasting color of the point that the labels overlay to leak through the space between the two labels.
    I'm trying to tighten the charts' appearance.  I have written code, for instance, to horizontally align all datalabels for box-and-whisker charts with the label of the mean.  (The labels for the whiskers are not, by default, aligned with the
    labels for the box)
    The attached code  (in VBA, not VB.Net)
    Sub test()
    Dim bytPoint As Byte, bytSeries As Byte
    Dim strDataLabelName As String
        Dim objDataLabelNext As DataLabel, objPoint As Point
        Const cstrTitle As String = "Position DataLabel"
        If Not TypeName(Selection) = "DataLabel" Then MsgBox "Please select a single DataLabel", , cstrTitle: Exit Sub
        strDataLabelName = Selection.Name
        If Not Left$(strDataLabelName, 4) = "Text" Then MsgBox "DataLabel has an invalid name.  It must be ""Text SnPn"".  Please correct.", , cstrTitle: Exit Sub
        bytSeries = ftbSeries(strDataLabelName)
        bytPoint = ftbPoint(strDataLabelName)
        With ActiveChart
            If bytSeries = .SeriesCollection.Count Then
                Selection.Top = .Axes(xlValue).Top + 0.75
            Else
                Set objDataLabelNext = .SeriesCollection(bytSeries + 1).Points(bytPoint).DataLabel
                Selection.Top = objDataLabelNext.Top + objDataLabelNext.Height
            End If
            Set objPoint = .SeriesCollection(bytSeries).Points(bytPoint)
            Selection.Left = objPoint.Left + (objPoint.Width - Selection.Width) / 2
        End With
        Set objDataLabelNext = Nothing: Set objPoint = Nothing
    End Sub
    Function ftbPoint(strDataLabelName As String) As Byte
    ftbPoint = Val(Mid$(strDataLabelName, InStr(5, strDataLabelName, "P") + 1))
    End Function
    Function ftbSeries(strDataLabelName As String) As Byte
    ftbSeries = Val(Mid$(strDataLabelName, InStr(5, strDataLabelName, "S") + 1))
    End Function
    ...does successfully vertically align the selected datalabel with the label of the next-higher series point, or the bottom of the top axis, if the series is the last.  But the datalabel is horizontally aligned with the entire width of the point, not
    the face of the point. 
    My strategy is to add half of the excess of the width of the face of the point over the width of the label to the left edge of the point.  objPoint.width returns the 2-D width of the point, not the width of the 3-D face.  I've tried subtracting
    the point depth from the point width, but that fails on theoretical, much less practical, grounds.
    I'm sure a function or a formula exists to convert the three-space depth to two-space so I can subtract it from the point width, but my little pea-sized brain can't conjure it.  I've invested a day's work with no solution.
    Many thanks in advance for your help.

    Hi JFHart,
    >>The "face" of the point is the front of the object, as opposed to the shaded side.  I'm seeking a way to measure the front.  The .width property seems to include the side; it measures the entire area that is colored<<
    Yes, it is correct. The width property of Point include the side. Here the test I did for it:
    And as far as I know, Excel object model doesn't provide a way to get the width of front face. I suggest that you submit the feedback from link below if you want to Office support this feature.
    Submit Feedback - Microsoft Support
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How do I copy 1 external HD to another?

    I was just at the Genius bar who reformatted my new WD 1 TB drive for use w Time Machine. He also showed me how to copy my old Seagate HD (that is getting noisy so want to back it up) to the new WD drive. W both HDs plugged into the USB ports of the

  • How do I add a DVD to Itunes to add to Ipod Classic?

    I just got a 80gb Ipod classic as an upgrade from a 4th gen nano and am trying to upload movies onto itunes for the first time, but cant. I've tried inserting the movie with itunes on like I do cds, nothing. I've tried importing or adding folders lik

  • Workaround to import video in FCP 6.0.5 under Leopard

    On behalf of a FCP user under Leopard with FCP 6.0.5 I would like to ask you how to import video from a Panasonic camcorder using some strange format. The workaround now is to import it on another machine under Snow Leopard with iMovie, export it as

  • Sort function not working

    I have a SQL report with different fields. At the report attribute when I checked sort, it gives me error "ORA-00911: invalid character". Any idea? My report is working fine without selecting sort function. Thanks, Mushtak

  • Why my System Look and feel got corrupted ??

    HI , I have written a simple swing app which consists of jtextarea in a jscrollpane , and a jbutton, in which the textarea is updated with random text. I decided to change the theme to native look&feel and so i included the UIManager.setLookAndFeel(U