Solved

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

Posted on 2012-04-02
3
566 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
  • 2
3 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this short article I will be talking about two functions in the SQL Server Reporting Services (SSRS) function stack.  Those functions are IIF() and Switch().  And I'll be showing you how easy it is to add an Else part to the Switch function. T…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

21 Experts available now in Live!

Get 1:1 Help Now