Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Line chart not showing multiple series data


Line chart not showing multiple series data

Author
Message
Simon Lye
Simon Lye
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 651
I have a line graph chart which should display either a single or multiple series. It has three variables which can be set - these variables allow selection of single or multiple values.

When I run the report with single specific values set for all variables, the chart correctly displays a single series as expected. This works fine.

However when I set any of the variables to include multiple values, no data is displayed. The legend shows the correct multiple series as expected, and the Y axis scales to show the expected data range. However no lines appear on the chart.

If I run the stored procedure behind the report manually with any combination of variables, the correct data is returned. If I create a report which is exactly the same except that it displays the data in a table rather than a graph, it also returns the correct data. Therefore this seems to be working fine ... but still no lines appear!

This is for SSRS 2008 R2.

Does anyone have any ideas what this might be?

Thanks

________________________________________
Red Gate Software Ltd
Scott Murray-240410
Scott Murray-240410
SSC Veteran
SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)

Group: General Forum Members
Points: 249 Visits: 3069
When using a multivalue parameter with stored procedures, the actual "value" that gets passed to the stored procedure is a single string with all the selected parameters separated by a comma... If you do not use an SP, but embedded the query in the SSRS dataset, SSRS handles the parsing of the multivalue parameter. To get around the issue in an stored procedure, you will need to parse out the values within the SP.... Here is one example of doing that:

http://www.mssqltips.com/sqlservertip/2866/sql-server-reporting-services-using-multivalue-parameters/
Simon Lye
Simon Lye
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 651
Thanks, yeah I had run into that particular issue previously, but it has been sorted out in this case.

It turns out that the issue seems to be the same one that (at least according to the Internet) causes most problems like this - the EmptyPoint colour needs to be set to something other than Automatic. When this is done, the data series lines appear ... but all in the same colour. There are workarounds, and I guess I'll have to investigate those.

________________________________________
Red Gate Software Ltd
alex_2356
alex_2356
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 18
I am also having many problems with the line chart series thing, this question attracted me but I don't have a good idea. Hope some UI chart control helps.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search