【发布时间】:2020-08-24 06:06:55
【问题描述】:
我正在尝试使用 OxyPlot 绘制我的数据。我想在我的图表中绘制两条线,但我不确定如何为图表提供数据。 这是我的 XAML 文件的样子:
<oxy:Plot Name="Plot1">
<oxy:Plot.Series>
<oxy:LineSeries ItemsSource="{Binding Graph1}"/>
<oxy:LineSeries ItemsSource="{Binding Graph2}"/>
</oxy:Plot.Series>
</oxy:Plot>
我的问题是如何在使用 LineSeries 时在同一个图中绘制两条线?
【问题讨论】: