Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

A question about Bar Colors in SSRS Bar Chart

$
0
0

I have a chart in a report that has 27 categories, and no series. The categories all display properly with the correct results, so the chart is informationally (not sure that's a word) correct but all the bars are the same color. If I try to ass a series, each bar shows up as a different color but now each category has 27 bars in it (actually, it has one really thin bar and room for 26 more that are not showing.)

So, my question is, can I have the colors of the individual bars be different for each category without having to use a series? I know I can use a SWITCH Statement and assign a different color to each value, but that isn't a viable solution as the categories could change and new ones could show up later.

Oh, in case the information is relevant: I am building the report in Visual Studio 2008.


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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