您好,请参考,如下设置
- <c1:Series Binding="Y" BindingX="X" SeriesName="Series 1">
- <c1:Series.ItemsSource>
- <PointCollection>1,8 2,12 3,10 4,12 5,15</PointCollection>
- </c1:Series.ItemsSource>
- <c1:Series.Style>
- <c1:ChartStyle Fill="Blue"></c1:ChartStyle>
- </c1:Series.Style>
- </c1:Series>
- <c1:Series Binding="Y" BindingX="X" SeriesName="Series 2">
- <c1:Series.ItemsSource>
- <PointCollection>1,10 2,16 3,17 4,15 5,23</PointCollection>
- </c1:Series.ItemsSource>
- <c1:Series.Style>
- <c1:ChartStyle Fill="Orange"></c1:ChartStyle>
- </c1:Series.Style>
- </c1:Series>
复制代码
|