SSRS Range charts series positon - reporting-services

I have created a gantt chart using range bar but the series is never positioning at 0. Although intervals and duration is dynamic but I want the series to start from axis. Which property needs to be modified for this.
In the below image the series starts from 6th Oct where has the minimum available start date is 3rd Oct so the graph should start with minimum available date to the maximum available end date which is start date + duration.
Which property should be modified to make it in-line
After making interval changes the axis is aligned worth the data but I need 3rd Oct to be the initial value not the 1st Oct. There is a wastage of space in the beginning(marked with red)
see below:

Click on horizontal axis properties, select axis type is scalar, click on always include zero,
change the minimum value from auto to =Min(startdate),
change interval from auto to 1 and interval type to days.

Related

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 - Major/minor gridlines spacing

I have an SSRS report with a bar chart with multiple series by CountryName Category group. What I want to do is have gridlines which split each country like below:
However in SSRS the major gridlines seem to interval with the line in the middle of the country name when the grid interval is set to 1 like below:
Can someone point me in the right direction into how to rectify this?
Also is there a way of adding the X axis in SSRS to start from zero like I have in my first graph?
Thanks
You can do it, there is an offset property on the grid lines (horizontal and vertical are separate). Click one one of the gridlines and look in the properties pane. Change the offset to 0.5.
Gives you this.
I'm not sure what you meant about starting from zero on the X-Axis, you have negative values so you'll start from a negative number. If you meant you wantde zero aligned to the middle. You can do that to. You need to set the min and max values of the horizontal axis to the following
Min Value:
=MAX(ABS(Fields!MyValueField.Value), "MyDataSet")*-1
Max Value will be:
=MAX(ABS(Fields!MyValueField.Value), "MyDataSet")
Basically we take the ABSolute largest value and use that as the extent (*-1 for the min value). The problem is that zero might not show so you'll have to play around with the Axis properties maybe to get that working. I'm sure it's possible but I don't have time to test at the moment.
My test data is not great as the number are large

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

SSRS StripLine Middle date X Axis

I am trying to display a vertical stripline in SSRS2008.
In this case I would like to display the line the 4th May (Center of the chart)
I don't know how to define the center date of the x axis in an expression.
You can calculate the centre date with a combination of DateAdd and DateDiff.
=DateAdd(DateInterval.Day,
DateDiff(DateInterval.Day, Min(Fields!DTE.Value), Max(Fields!DTE.Value))/2,
First(Fields!DTE.Value)).ToOADate -0.5
The .ToOADate appears to be necessary to make the StripLine placement work in SSRS 2008 R2. The -0.5 is to get the StripLine to start between two dates, instead of exactly on the centre date.
In your StripLine properties, add the above expression to the IntervalOffset and set the StripWidth to 1. Leave the other properties in the Interval category as Auto.

Display days labels on x-axis SSRS report builder

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.