Solved

Showing 2 graph types in one rdl

Posted on 2010-11-16
5
452 Views
Last Modified: 2012-05-10
Hi experts!

I have a report that needs to contain a graph along with a table underneath showing the dataset values. I am required to either render the graph portion as a bar graph or a line graph depending on a parameter that is passed into the report. The dataset remains the same for either graph.
Do I simply drag 2 graphs onto the designer (1 bar graph type and 1 line graph type) and simply hide 1 or the other based on the parameter? Or is there another more clever way to do this dynamically?

I only want to show either the bar graph or the line graph but not both at the same time.

Thanks.
0
Comment
Question by:maloriopolium
  • 4
5 Comments
 
LVL 10

Accepted Solution

by:
itcouple earned 500 total points
Comment Utility
Yes

Hide/Show usually is the approach to do that. But also look for properties which specify bar/line to see if you can set it up conditionally. I'm just going to see if there is one.

Regards
Emil
0
 
LVL 10

Expert Comment

by:itcouple
Comment Utility
The property is called Type.... but doesn't allow expressions :(

Regards
Emil
0
 
LVL 10

Expert Comment

by:itcouple
Comment Utility
Another option is to add graph/line on the same graph (literally) and use visibility to hide/show but I'm not sure how the Axis would behave in that case.

Regards
Emil
0
 

Author Comment

by:maloriopolium
Comment Utility
Hi itcouple,

What do you mean by the property called Type? Where is this?
0
 
LVL 10

Expert Comment

by:itcouple
Comment Utility
Hi

If you click the bar or line or point on the graph and go to properties pane (F4) - at least that is where I find it in R2. There is property called type, but it will not help as you cannot use expressions in it. What a shame.

Regards
Emil
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now