Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS 2008 R2 - Chart Legend Colors not changing.

$
0
0

Hi Guys,

I have been working on a report which uses inbuilt chart capabilities of SSRS 2008 R2 version. I have been able to dynamically change colors using expressions in fill property of series data but the legend associated with it does not change as expected. If I use the default coloring for the series data then the legend coloring works as expected, this is the case when you simply drag and drop the chart and use as is. See below for my chart definition (in my charting scenario I had to change the series data bar colors based on a particular column value).

Chart Data:

Series Group - Col_A

Category Group - Col_A

Summation of Values (Series Data) - Count(Col_B)

In the series properties --> Fill --> Pick Color --> Color --> Expression (as below)

=iif(fields!Col_A.Value = "On Time","Red",iif(Fields!Col_A.Value = "Overdue","Blue","Green"))

Can anybody please guide on this?

Cheers !

Pulkit Ojha


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>