Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Matching the grid data row colors with the pie chart portion colors in SSRS

Posted on 2012-04-02
3
Medium Priority
?
588 Views
Last Modified: 2012-08-14
Assume that you have a list of countries with a value beside each of them.  Now build a pie chart.  Assume also that you will show the same data as a grid beside this pie chart.

How to color the the country row in the grid, and it's portion of the pie sclice with the same color?  If we were to show the results with a continent grouping countries within it, I would like to this within each group.

I appreciate your help.
0
Comment
Question by:tikkub
[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
  • 2
3 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 2000 total points
ID: 37799497
It could be that ensuring both the pie and the table use the same sort order is sufficient, but I doubt it.  You're probably going to need to look into setting up custom coloring so that you have full control over what country gets what color.

Have a look at the following article to get you started, it explains how to set up custom coloring on the pie chart: http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/A_1884-Pie-Chart-Techniques.html
0
 

Author Closing Comment

by:tikkub
ID: 37801441
You are very good.  The article had the idea about using color in the dataset.  Ultimately, that is the cleanest way of doing it.  Being a data guy, I prefer putting things out using data set rather than writing code in the report.  I appreciate your help.
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 37802282
Thank you tikkub, and I totally agree with that! :)
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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…
Written by Valentino Vranken. Introduction: In a previous article (http://www.experts-exchange.com/articles/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Reporting-On-Data-From-Stored-Procedures-part-1.html) I announced that I would writ…
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…

688 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