Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

SSRS Chart X-Axis Labels & Data missing

$
0
0
Hi,I've seen this issue before and I'm aware of the standard solution but I think I have a new type of issue.Basically, I have a chart whereby some of the x-axis labels are missing, and am using SSRS in SQL Server 2014, standard deployment.The dataset "Display_Data" shows a simple output of 4 fields (Date, MonthLabel, VLCC, MR)All I am displaying on the line chart is MonthLabel on x-axis and VLCC and MR (these are 2 separate categories) display as 2 separate lines.I have "post-back" buttons in a table above the chart which allows me to use the "Action" property to jump to the same report (Globals!ReportName) and there are 2 buttons allowing 2 choices (either LTM or 5Y); basically 5Y brings back 5 years of data whilst LTM is last 12 months.So the dataset is calling a stored procedure and I pass the chart type and chart period as parameters.Problem is (and I've tried everything so far) the x-axis is not showing the full data set labels.So, if I select "LTM" it should show this: (don't worry about Feb as no data for 2016 Feb yet)M A M J J A S O N D Jbut it shows this only:M A J S O N D I have set the following options in Horizontal Axis Properties:Axis Options---------------Axis Type: CategorySide Margins: AutoInterval: 1Interval Type: AutoLabels-------Enable Auto FitMajor Tick Marks-------------------Position: OutsideLength: 1Set custom interval - interval: AutoSet custom interval - Interval Type: DefaultMinor Tick Marks-------------------DisabledFor "5Y" the data set returns (this is since Jan 2011)J F M A M J J A S O N D J F M A M J J A S O N D J F M A M J J A S O N D J F M A M J J A S O N D J F M A M J J A S O N D Jbut the chart shows this only:J F M A S O N DCan you help?Thanks

Viewing all articles
Browse latest Browse all 3145

Trending Articles