title: WPF Chart binding error
body: <p>i have problem to correctly bind data to WPF Chart. When i'm setting ItemsSource i get error:</p>
  
  <blockquote>
    <p><em>Assigned dependent axis cannot be used.  The data may not be able to be rendered on the provided axis or the series may require that they axis has an origin.</em> </p>
  </blockquote>
  
  <pre><code>oc = new ObservableCollection&lt;Pair&gt;();
  heartBeats.ItemsSource = oc;
  </code></pre>
  
  <p>to Pair i'm saving int and long</p>
  
  <p>XAML:</p>
  
  <pre><code>...
  xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit" &gt;
  &lt;charting:Chart x:Name="ApplicatioChart"&gt;
              &lt;charting:Chart.Series&gt;
                  &lt;charting:ColumnSeries x:Name="heartBeats" Title="Working Set" 
                   DependentValueBinding="{Binding First}" IndependentValueBinding="{Binding Second}" &gt;
  
                      &lt;charting:ColumnSeries.IndependentAxis&gt;
                          &lt;charting:CategoryAxis Orientation="X" /&gt;
                      &lt;/charting:ColumnSeries.IndependentAxis&gt;                    
                      &lt;charting:ColumnSeries.DependentRangeAxis&gt;
                          &lt;charting:LinearAxis  Orientation="Y"  /&gt;
                      &lt;/charting:ColumnSeries.DependentRangeAxis&gt;
  
                  &lt;/charting:ColumnSeries&gt;
              &lt;/charting:Chart.Series&gt;
          &lt;/charting:Chart&gt;
  </code></pre>
  
  <p>Please help.. :(</p>