本帖最后由 Richard.Ma 于 2021-3-30 17:43 编辑
可以参考如下的代码
- <c1:Series Binding="Y" BindingX="X" SeriesName="Series1">
- <c1:Series.Style>
- <c1:ChartStyle StrokeThickness="20"></c1:ChartStyle>
- </c1:Series.Style>
- <c1:Series.ItemsSource>
- <PointCollection>0,70 1,70.7</PointCollection>
- </c1:Series.ItemsSource>
- </c1:Series>
复制代码
如果是后台设置的话比较简单
- chart.Series[0].Style.StrokeThickness = 20;
复制代码
|