please i want to bind oxyplot to a gridcontrol to show my data.
<oxy:Plot Title="Binding ItemsSource" Grid.Row="1" Subtitle="123" PlotType="Cartesian" IsRendering="True">
<oxy:Plot.Series>
<oxy:LineSeries Title="Value"
DataFieldX="Depth"
DataFieldY="Depth"
DataContext="{Binding ElementName=grid1}"
StrokeThickness="2" Color="Blue" />
</oxy:Plot.Series>
</oxy:Plot>
Aucun commentaire:
Enregistrer un commentaire