Color by in Combination Chart - bar-chart

Consider the following chart:
We have data for 2016 and 2017, and we'd like to show green bars for 2016 and red bars for 2017. In a normal bar chart, this can be accomplished with a color by Year. However, there is no "color by" option for a combination chart.
I found a response here, but it was for stacking different color bars.

Related

SSRS Match Color series in stacked bar chart

I have a stacked bar chart, with year on the x axis, and sales CY and sales LY on the y axis, also the bars are grouped (stacked) by company name, like in the picture below:
bar chart stacked example
The problem is I want to match the colors for the same companies, like: "united package CY" and "united package LY" have the same color for both, so will be easier to see the comparison between companies and years.
Is there any way to achieve this?
Thanks!
Yes you can, click on your chart and go to the chart properties on the right side under:
Chart > CustomPaletteColors.
Here you can add your defined chart colurs for each series. For example if you have 4 series you have 4 different colors. You can set the color for series1 the same as series2.
Depending on which positions your series are, they will look like one section or they will have another color between them. But you can reorder the position of the series if you need to.

Tableau bar chart - how to color each bar different

I have a vertical bar chart plotting sales figures by age ranges (15-20, 20-25 etc).
Currently, all ten bars I have are blue in color.
For purely aesthetic purposes, I would like to make each bar either a different color entirely (probably too outlandish though), or a different shade of blue. Can either/both of these be done?
Yes, both can be done. You can achieve this if you drag the 'measure values' onto the color shelf. You can then edit the colors so all the other measures are one color or you also select single color with different shades.
Hope this is what you are after, but if not please post back.

ssrs change background color of line chart

I'm developing a report in which I have to highlight a particular period on a line chart.
To be more precise if the dates in the x axis are more than a given date the chart background colour after that date will have to be light green otherwise white.
Here is the expression
=IIF(Fields!Week_Day_Of.Value>Fields!startdate.Value,"LightGreen","#00000000")
I have put the expression in the chart area properties (Fill).
Fields!Week_Day_Of.Value represents the values on the X axis.
Fields!startdate.Value represents the parameter beyond which the cart has to turn light green.
It's not doing anything
As far as I am aware, you cannot fill parts of the chart background like this. Your best bet is to add another column data series on the secondary vertical axis that has a value of 1 or 0 depending on the expression you have above and set the colour of the series to whatever you need. To get the columns wide enough to form a solid block of colour, you will need to set the CustomAttributes -> MinPixelPointWidth property to 100.
You can then set the secondary axis to hidden by right clicking on the chart area and unchecking Show Secondary Vertical Axis and check the Do not show this series in a legend option in the Legend area of the series properties.
Do all this and your chart will look something like this:

RDL report - Chart with both bar and lines

I want to show in one chart report two series of data, one as a horizontal bar and one as a line. When I select for the second series a line chart type, it changes also the chart type for the first series which was set to bars.
This works if I'm using vertical columns for the first series, but it seems it is not working the same with horizontal bars.
Is there any way around this?
No. You cannot create a chart with horizontal bars and lines.
SSRS doesnt allow it.
It is not logical to join two concepts which is transpose of each
other. It is like showing vertical bar chart and horizontal bar chart
in the same graph.
Line charts are used to show overall trends and
patterns over time(usually) or some other series. Bar charts are good
for comparing unordered/nominal items.
You need to reevaluate your decision to show these two together.

SSRS stacked bar chart label position

I am using SQL Server 2012. SSRS
I have a stacked bar charts that includes interest and dividends. I would like to add the sum of these values to the area just above the stacked bar chart. I have tried adjusting various properties for the labels but I can't get the label position to be anywhere but the middle of the stacked bar chart. Any ideas how to get these labels to be just above the stacked bar charts?
I tried the solutions mentioned here and found them cumbersome compared to this gem: http://peltiertech.com/label-totals-on-stacked-charts/
Add a "total" to your dataset (in my case, a percentage)
Add the total series to your stacked bar chart
Change the total series chart type to a line
Hide the line and line markers by setting their fill color to none
Set the Total series to not show in the legend
Set the data point position for your total series to "Top"
Here is my result:
There is not a way to do this with settings.
Here are a couple of links that give you step by step instructions:
http://beyondrelational.com/modules/2/blogs/65/posts/11575/display-total-on-top-of-stacked-chart.aspx
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/654f30c2-ad3a-4b4e-a34f-adf4db6b78d2/stacked-column-chart-total?forum=sqlreportingservices
Basically, the workaround is to create another series or category in your chart that is the totals (which requires updating your dataset to include the totals), make it transparent, and turn data labels on. The MSDN answer says to make it a line chart while the Beyond Relational article leaves it as part of the stacked bar. Either way will work.