Hello,
I am using the column setting in the xamChart to display my histogram of 20 bin values.
I will like to highlight the first 5 bins with one color in the background, the next 10 bins with another color and the final 5 bins with another color.
Is the Stripe the right object to use for this? I tried using the Stripes but I am failing setting up.
How would you do it?
Thank you.
I suppose that you need to change the default color of the DataPoint objects (bins) in the chart. There is a great example in the online documentaiton you can use :
http://help.infragistics.com/Help/NetAdvantage/WPF/2008.2/CLR3.X/html/xamChart_Set_the_Color_of_Data_Bound_DataPoints.html
Let me know if this works in your scenario.
Regards
Vlad
Thank you Vlad. This sample will do the trick. It is too bad I cannot paint the background. For 20 bins is not a problem but when it get to more 1000 bins it gets a bit more challenging for the viewer.
Thanks again.
Miguel