SSRS bar chart bar spanning multiple axis - reporting-services

I have a basic bar chart to show number of claims received by month. For most clients it shows normally:
normal
But for some the bars span across multiple axis points.
bar span
I have formatted the axis so that it spans the previous 13 months from the report month end date as such:
axis options
expression for the minimum interval is:
=DateAdd(dateinterval.Month,-13,Parameters!prm_month_end.Value)
the axis labels are on auto-fit but disabling them doesn't make a difference. I don't think its my SQL statement but all it is is a simple count of claims by month.
Any thoughts?

Update: I fixed it. I set the maxpixelpointwidth to 50:
maxpixelpointwidth
Updated Chart

Related

How to set the maximum horizontal axis range in a line chart in SSRS?

I have a line chart with markers in ssrs that is currently displaying 4 months of data (Jan through Apr). I would like the maximum horizontal chart range to extend from Jan to Dec. It's automatically filling the chart window up to Apr because I only have data up to the point so far. How do I force the horizontal axis range to go from Jan to Dec? Would a min and max axis range expression do this? I'm having trouble finding an example. This is what I currently have.
Assuming your report does not need to show spanning across years then..
Right-click on the horizontal axis and setup as follows...

Chart horizontal axis label interval

I've got a graph with dates on the horizontal axis. I've used both the Auto and a hard-coded number on the label interval field. Both have worked fine.
However, when the report is used as a subreport in the Main report, the intervals get rendered differently. For example, when calling the chart report directly, I get about 10 data labels, however when its called as a subreport, I get over 20 label points, and the years are cut off
For example, it looks the below
26/08/......22/09.....
Any ideas?

ssrs chart axis labels duplicated

I am trying to get my chart to only show the month name. I have changed the horizontal axis options to do that but they are all duplicated. Can anyone tell me how I can get this set up to only show each month one time?
Here is the chart without any formatting:
It correctly shows the 4 data points.
I then go to the Horizontal Axis properties, change it to number and then select the MMM for the three character month name which correctly displays:
when I run the report after making that change I get an extra month (december) and all the month names are duplicated:
What do I need to do so that I only get Jan - Apr one time on my horizontal axis?
Thanks for any suggestions!
Leslie
edit: Here is the raw data:
I have tried changing the interval but have seen no effect on the output. I have tried unselecting the "Always include zero" option to get rid of december but that didn't work either.
edit 2: I said above there was no effect when I changed the axis interval to 1, actually that results in many entries for the Year-Month data in the axis area.
Right click on horizontal axis, select axis property, from the "Axis range and interval", for interval, type in "1" (without quotes), for interval type, select "Month", then hit OK. enter image description here

SSRS Horizontal X-Axis displaying single day instead of full month

I have a bar chart in SSRS with 12 Series, each one representing a months worth of data. (image link below)
If I leave all of the defaults settings for the X-Axis (auto, etc) the bars look perfect, but I can't get the MM/yy to display in the X-Axis.
When I edit the axis properties to Type > scalar, Interval > 1, Interval Type > Months, The axis displays everything just like I want, but the bars then get thin.
It appears that the bars are now only showing a single day out of the month rather than the full month.
For each Series I have the Category Field set to and Expression formatting the date to something like
=Format(DateAdd("m",-1,Today()), "Y").
Any ideas on how I can get the bars to fill the whole month?
Bar Chart with Thin Lines

Chart bar not property sizing when scalar axis's interval set to 1

When I create a Microsoft SQL Server Reporting Services 2012 bar chart with the horizontal axis type set to scalar and the interval set to 1, the rendered bar size does not match the axis label size.
In the example below, a value of 1 should be displayed for 9/1/12 and a value of 52 should be displayed for 9/5/12. However, the bars span too wide. Each spans three date labels instead of just one.
How do I limit the chart's bars so that they are the proper width?
Thank you!
I had the same problem, I changed the MaxPixelPointWidth to a value, in my case 15, and that fixed my problem.
(Chart Series properties=>CustomAttributes=>MaxPixelPointWidth) //Mari