Dave Mateer
Dave Mateer

Reputation: 6626

ReportViewer chart - x axis adding start and end dates

Problem: how to not display the start date 31/05 and end date 16/06

These values are not brought into the control via the dataset (hence there can never be any data) as shown in the table below

enter image description here

Upvotes: 0

Views: 2835

Answers (1)

user756519
user756519

Reputation:

If you are working with SQL Server 2008 reports, you can right-click on the horizontal axis and select Horizontal Axis properties. Refer screenshot #1. On the Horizontal Axis Properties, click on Labels section and select Hide first and last labels along the axis. Refer screenshot #2.

Screenshot #3 shows sample report output before applying the change. Screenshot #4 shows sample report output after applying the change.

Screenshots were taken using SSRS 2008 R2.

Hope that helps.

Screenshot #1:

enter image description here

Screenshot #2:

2

Screenshot #3:

3

Screenshot #4:

4

Upvotes: 2

Related Questions