Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Get Next Generated Color

$
0
0

I have a column chart that I am creating programmatically. I am manually (in code) building the series and the associated data. I am also assigning a color to each 'bar’ by using AddNewPointStyle. This is working great.

I would like my Chart.ColorGeneration to be set to Office. Is there a way to get a list of colors that are found in that color collection. In other words, if you add a new ChartDataSeries, the next color is automatically 'generated’ for you. In my case, I only have one series, but multiple 'bars’. I would like to use the colors found in the Office 'scheme’. How can I get this?

Hope this makes sense.

Thanks in advance.
Dave


Viewing all articles
Browse latest Browse all 14170

Latest Images

Trending Articles



Latest Images

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