开发者

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 ta开发者_开发百科ble below

ReportViewer chart - x axis adding start and end dates


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:

ReportViewer chart - x axis adding start and end dates

Screenshot #2:

ReportViewer chart - x axis adding start and end dates

Screenshot #3:

ReportViewer chart - x axis adding start and end dates

Screenshot #4:

ReportViewer chart - x axis adding start and end dates

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜