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

Setting custom colors on a column stacked bar chart

$
0
0

I have set the fill for the values series to an expression of: =Switch((Fields!Priority.Value)="Medium","CornflowerBlue",(Fields!Priority.Value)="Critical","Firebrick",(Fields!Priority.Value)="high","RosyBrown",(Fields!Priority.Value) ="Low", "Green")

When running the report colors switch properly however the legend colors do not change

Here is a screenshot of the issue

As you can see the bar colors change properly but i cannot seem to get the legend to work right. Does anyone have any suggestions?



Viewing all articles
Browse latest Browse all 28687

Trending Articles



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