Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Showing 2 graph types in one rdl

Posted on 2010-11-16
5
Medium Priority
?
467 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 10

Accepted Solution

by:
itcouple earned 2000 total points
ID: 34154028
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
ID: 34154042
The property is called Type.... but doesn't allow expressions :(

Regards
Emil
0
 
LVL 10

Expert Comment

by:itcouple
ID: 34154050
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
ID: 34154260
Hi itcouple,

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

Expert Comment

by:itcouple
ID: 34154458
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

604 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