1) How do I change the color of the line? I tried changing the stroke property, but the line remains red
2) At this time, my line starts/stops at the first/last x axis grid marks. How do I make the line traverse the entire chart (go from edge to edge?
3) How do I position the legend (I want the legend at the top of the chart)?
4) Are there any actual code samples on this site or in the help?
EDIT (05/10) ============
Are these really hard questions?
SOLUTIONS FOUND =====
1) Set the series Fill property to the appropriate brush.
see: https://ko.infragistics.com/community/forums/f/retired-products-and-controls/48244/color-palette-in-xamdatachart/256982#256982
yes, your right Grahan same thing i want....
--Madhusudan
Do you mean showing a user a color selector so they can change the color of the series?
hi Graham,
i am using xamdatachart and one more problem i want to show the some colors like color palette in chart then only user can select any one of the color then only that color will comes to perticular series so plz help me
Just set the fill property on the series for which you want to change the color. For example if you wanted to change the fill of the first series to red do (assuming your chart is called xamChart1):
xamChart1.Series[0].Fill = new SolidColorBrush(Colors.Red);
-Graham