了解了,如果只是设置折线的粗细的话比较简单,只需要设置StrokeThickness即可
- <c1:Series Binding="Y" BindingX="X" SeriesName="Series 1" SymbolRendering="Series_SymbolRendering">
- <c1:Series.Style>
- <c1:ChartStyle StrokeThickness="5"/>
- </c1:Series.Style>
- <c1:Series.ItemsSource>
- <PointCollection>1,8 2,12 3,10 4,12 5,15</PointCollection>
- </c1:Series.ItemsSource>
- </c1:Series>
复制代码
设置后的结果
|