Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to change wpf column chart color with legend.
how to give different color for column.

What I have tried:

i have applied stylesheet to give color  but not working .
stylehseet is apply to both column.
Posted
Updated 18-Aug-17 23:47pm

1 solution

Check the properties of each Data Series object - there should be an option to override the default color.
 
Share this answer
 
Comments
Member 13006712 21-Aug-17 2:56am    
sir,
its not working.
Graeme_Grant 21-Aug-17 3:19am    
Hard to give more information without more information, like which chart control you are working with.
Member 13006712 21-Aug-17 5:10am    
charting toolkit - column chart .
Graeme_Grant 21-Aug-17 6:07am    
check out this answer: c# - WPF Chart Toolkit - Change area series color's opacity - Stack Overflow[^]

I prefer Live Charts[^] as it is actively supported and fast whereas the WPF Toolkit (February 2010 Release)[^] is not.

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