Click here to Skip to main content
15,901,666 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,

I have this problem:
In my app which is animation of some charts. The color of series is different from one chart to another
for example: in the first chart the series are blue and green, in the second chart, red and orange etc.
I want the same colors of series.
any help?

I declare the series with from c# code, not from xaml
Series series = (Series)Activator.CreateInstance(seriesTypeItem.SeriesType);
Posted
Updated 28-May-11 18:26pm
v2

1 solution

You can re-style <seriesdefinition.>
See here[^] for an example.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900