Does anyone have recommendations on styling the series line on a 2D line chart ? Widening the line doesn't seem to give me the desired result and I'm not sure exactly how to obtain the look I want.
When changing the thickness, the fact that the line is drawn as a series of line segments becomes very obvious when no markers are used on the series (rectangles make for a choppy look) . Adding a marker helps a bit but I still (1) I can't obtain a smooth line - MarkerSize is a scale factor on the default size so matching it to the width of the line is quite tricky (2) I can't produce a stroke different than the fill (for some reason the stroke can be different on the marker but on the line it doesn't show any different than the fill).
Any suggestions would be greatly appreciated.
Line I'm trying to draw:
Line with black stroke and red fill without marker:
With marker:
Unfortunately, currently it is not possible to draw this. Our line chart draws lines, which means that there is just a stroke without fill.
About the smooth line you can try using:
<igChart:XamChart>
<igChart:XamChart.Resources>
<Style TargetType="{x:Type Line}">
<Setter Property="StrokeEndLineCap" Value="Round" />
<Setter Property="StrokeStartLineCap" Value="Round" />
</Style>
</igChart:XamChart.Resources>
<igChart:XamChart.Series>
…
Thanks Theodor, the line cap worked to smooth the line (see below). As for the stroke, do you know if it's in the plans to have it behave like the marker?
With cap set to round (smooths out the line just fine):
Stroke set to black and fill to red on marker.:
Thanks Teodor, I'll likely do that as we're currently being asked to reproduce styles not possible with infragistics and some are starting to push to go with other vendors and I rather see us w/ infragistics..
Currently there are no such plans, but if you want to request this as an official feature then please visit this page: http://devcenter.infragistics.com/protected/requestfeature.aspx