Binding to a collection

Sep 6, 2010 at 3:54 PM
I am using an observable collection to store values for a line graph, but cannot find the correct way to bind this to the x and y axis of my chart.
ObservableCollection<LaserHoleMeasurements> Data = new ObservableCollection<LaserHoleMeasurements>();
  I have used MScharts and the binding is in the ItemSource, I like the features you have but am finding it difficult to see where the binding goes.

<Window x:Class="WPFDataChartTests.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <d3:ChartPlotter Name="Plotter" Margin="10, 10, 20, 10" >

            <d3:Header FontFamily="Arial" Content="Hole Size vs PulseWidth"/>
        <d3:VerticalAxisTitle FontFamily="Arial" Content="Hole Size (uM)"/>
        <d3:HorizontalAxisTitle FontFamily="Arial" Content="Pulse Width (mS)"/>