How to set background and border for each Stacked Column Chart in SSRS - reporting-services

I have a report with multiple tables and one chart of type Stacked Column.
The thing I'm trying to achieve is to set background and border for some of the Stacked Columns in the chart based on some data column. Just to be clear, the border and the background i want to be not to the stacked column itself, but the background "rectangle" where the column is drawn.
I found options to set background of the column itself and border ... but that is not what I need.
Any suggestions?
I'm using SQL 2016 Reporting service

The background of a chart is controlled by the Chart Area properties. You should be able to select the Chart Area by clicking on white space within the chart's axis, and adjust it's BackgroundColor properties from there.
If you want to have varying colours on different parts of a single chart area, you can achieve this with StripLines. These can be set on the X and/or Y chart axis properties, depending on if you want horizontal or vertical variance.

Related

SSRS Chart, is there a way to left-align the y-axis?

I have a bar chart and I would like the text to be left-aligned. I've tried checking the Vertical Axis Properties and there are Label and Label Font settings, but alignment is not one of the settings.
What I've tried:
I have tried to use the alignment icons on the toolbar, but they are grayed out. I've also tried right-clicking on the chart, choosing Chart > Layout, and all of the alignment options are grayed out there as well.
What is the best method to align the labels to the left, while keeping the gradient bars looking the same please?
I do not think this is possible using a chart.
What you can do instead is to create a table with two columns, grouped on the same field as your chart Category. In the first column you can simply put the Category label and in the second column add a chart, you can use a data bar.
This will allow you to format your 'labels' and chart bars as you see fit.

Rectangle or Border look alike behaviour on SSRS report

How can I have fixed rectangle inside the report body for every page ? I am placing a tablix, after that a matrix inside that rectangle.
I have attached pictures of my ddl design view, pdf view and desired result layout.
So far, I have tried to use fixed tablix size by using sql insert empty row. But this way, I wasn't able to put my matrix inside it.
By simply using rectangle, since the rectangle is fixed sized and I am getting problem when my tablix has more data and it is pushing down the rectangle if I have some space below my tablix and matrix.
Any insight will be greatly appreciated.
In your Report Properties, set the ConsumeContainerWhiteSpace setting to true and make your Rectangle as large as it need to be on a page. In doing this, the tables will grow into the white space with each row and not push the bottom of the rectangle until the table is too large to fit.

SSRS 3D Horizontal Stacked Bar Chart Offset and Depth Properties

I am using SSRS (on top of SQL Server 2014). I am making a 3D horizontal stacked bar chart, but there are some display properties that I cannot figure out, despite all information available.
I Am wondering how/if the two measures in the chart above, a & b, can be set:
(a) The depth of the bar chart. Can I make this smaller? I want a much narrower bar.
(b) The offset of the chart from the axis. Is there a way to make the bar hug right up against the axis? Maybe I'm the only one, but when I look at the right extreme of the bar,I have trouble telling how close it falls to the 300 line due to this unnecessary offset.
Furthermore, does SSRS allow me to control things like the color rendering of the chart? Here is an example from another BI reporting tool:
This one has black outlines around all of the bars. Is SSRS capable of this? Mostly, I am just wondering if SSRS can make a chart that looks more like the latter.
The first two can be easily changed.
To set the bar width and border colour, click on one of the bars then hit F4 to bring up the properties pane.
In the properties, expand Custom Attributes and set the point width to something smaller, say 0.2 and set the border colour and style to your choosing.
Here's a screen-grab of the properties to give a nice garish red border and smaller bars.
To set the bars against the base, go to the horizontal (or vertical if you want to change this too) axis properties and set Side Margins to Disabled.
This gives this output...

Put bars inside of each other in SSRS, but not stacked

In SSRS in a bar chart, in order to save space I would like to put two bars inside of each other (or behind if you want to say so, but not stacked). How is that possible?
See example image.
Sample image
I believe the trick is to create a standard vertical column chart, then change the bigger bar's series to a range column chart. Then change the 'point width' attribute of each series to be different, so one bar fits in the other.

Align images dynamically alongside bar graphs in SSRS Charts

My requirement is to display images dynamically next to the bars in SSRS charts. I have been using many ways and was not able to find an apt solution to the problem.
I have used the bar graphs and a tablix to display images next to the bars. I have used an expression in order to repeat the images based on the number of the rows obtained from the dataset.
But the main problem is with the alignment of the images with the bars. Here's a pic.
And when the parameter/selection is changed the alignment of the images with the bars get scrambled.
I need to get the images adjacent to the bars just like the previous image(image1) even if the selection is changed.
Is there any way I can get through this?
Please share a solution.
Thanks.
Sai Chaitanya
IMO your image is meaningless clutter, but anyway ...
I would insert a column into the existing Tablix (left of the current image) and move the chart inside that cell. I would remove both axes, Titles etc so you just get a single bar in each cell.
Then I would insert another column into the existing Tablix (left of the chart) and pic the category label which you have blurred out in your image above.
Finally I would add footer rows to show an image for the X axis scale, and the X Axis title.