title: Wpf Livecharts - Separator step value binding is not working
body: <p>Simply I want to add an X-axis separator with dynamic values in a Livecharts <code>CartesianChart</code>. But value binding is not working. </p>
  
  <p>I am using <code>LiveCharts 0.9.7</code> and <code>.NET 4.5</code></p>
  
  <p>I went through <a href="https://stackoverflow.com/questions/50164439/wpf-live-charts-binding-separator-in-code-not-working">WPF Live-Charts -- Binding Separator in Code Not Working</a> question but it didn't work on me since the code is different.</p>
  
  <p>What I have tried is this which was in [<a href="https://lvcharts.net/App/examples/v1/wpf/Axes]" rel="nofollow noreferrer">https://lvcharts.net/App/examples/v1/wpf/Axes]</a>:</p>
  
  <p>In XAML:</p>
  
  <pre><code>&lt;lvc:CartesianChart Series="{Binding SeriesCollection}"&gt;
      &lt;lvc:CartesianChart.AxisX&gt;
          &lt;lvc:Axis Labels="{Binding Labels}"&gt;
              &lt;lvc:Axis.Separator&gt;
                 &lt;lvc:Separator IsEnabled="False" Step="{Binding Step}"&gt;&lt;/lvc:Separator&gt;
              &lt;/lvc:Axis.Separator&gt;
          &lt;/lvc:Axis&gt;
      &lt;/lvc:CartesianChart.AxisX&gt;
      &lt;lvc:CartesianChart.AxisY&gt;
         &lt;lvc:Axis Title="Sold Items" LabelFormatter="{Binding YFormatter}"&gt;&lt;/lvc:Axis&gt;
      &lt;/lvc:CartesianChart.AxisY&gt;
  &lt;/lvc:CartesianChart&gt;
  </code></pre>
  
  <p>In CS:</p>
  
  <pre><code> public SeriesCollection SeriesCollection { get; set; }
   public string[] Labels { get; set; }
   public Func&lt;double, string&gt; YFormatter { get; set; }
   public int Step { get; set; }
  </code></pre>
  
  <p>Here <code>Step</code> is the separator step value and it can be changed in runtime.
  Every other bindings are working properly.</p>
  
  <p>No error is given and X-axis separators are also displayed but not according to the <code>Step</code> value.</p>
  
  <p>Kindly expect your help to fix this out!!</p>