WPF ToolKit Column Chart

Sep 8, 2009 at 8:09 AM


I am new to WPF and want to create a column chart having 3 values for each x axis (say x1 has y1,y2 and y3 and x2 has y4,y5,y6.. etc). I want to show each y value in different color. I found the sample in http://blogs.msdn.com/delay/archive/2009/02/04/columns-of-a-different-color-customizing-the-appearance-of-silverlight-charts-with-re-templating-and-mvvm.aspx. It shows different color for each x axis (x1, x2 and x3).

But In my case, I want to show different color for each y value for all the x axis. For example (y1, y4,y7 will be in same color and y2,y5,y8 will be another color and etc...) also I want to show all three kind of y axis in legend.

Could you please help me on this.

Thanks in Advance.