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
Related
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
I need to make a line chart with the month on horizontal axis and a value on the vertical axis.
I need to colour the line's segments in green if the trend based on the previous month is growing, or in red if the trend is decreasing.
I can't find a way to compare the values grouped by month, and I prefer not to perform this by adding another query from db.
Right-click on the Chart Series (the line of the graph) and select Series Properties..., click Fill on the left then click the fx button to enter and expression for the fill. Let's say your field is called Sales. Use the following expression for the Fill:
=IIF(Fields!Sales.Value >= Previous(Fields!Sales.Value), "Green", "Red")
This worked on my simple test. You may need to aggregate within your query (group by month and sum) for this to work properly.
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
I was following the instruction from here: http://msdn.microsoft.com/en-us/library/dd239316.aspx for setting up Date type interval and set it to Month and everything is showing up correctly, however if I narrow my interval to several days within month then chart again showing up correct data but don't label the days on x-axis. Is it possible to have days labels displayed having the month to be set as default interval?
To format x-axis labels as daily intervals
1. Right-click the horizontal, or x-axis, of the chart, and select Horizontal Axis Properties.
2. In the Horizontal Axis Properties dialog box, select Number.
3. From the Category list, select Date. From the Type list, select a date format to apply to the x-axis labels. Select Axis Options.
4. In Interval, type 1. In Interval type property, select Days.
Note:
If you do not specify an interval type, the chart will calculate intervals in terms of days.
Click OK.
I'm currently working on a report to display the number of consented patients by disease group and my column titles aren't displaying for every column. For whatever reason, they are alternating thus only displaying half of the column titles. Any ideas on how to resolve this issue? Here is a picture of the chart as it's displaying now.
You need to set the axis interval to 1.
TechNet: How to: Specify an Axis Interval