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.
hi jsimmons3,
i want answer of this question
how can i change the color of line chart using legend in programatically?
that means user select any color in manually means that color will come to line ,i am using xamdatachart
plz help me it's very urgent for me
1) How do I change the color of the line? I tried changing the stroke property, but the line remains
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
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
Do you mean showing a user a color selector so they can change the color of the series?
yes, your right Grahan same thing i want....
--Madhusudan
see: https://ko.infragistics.com/community/forums/f/retired-products-and-controls/48244/color-palette-in-xamdatachart/256982#256982