title: Problem with vertical axis of CartesianChart when running Livecharts in WPF
body: <p>I have implemented a Line chart in my WPF application. However, when I run my application my vertical Y-axis on my chart doesn't use the whole space it is given. In short: the Y-axis collapses. </p>
  
  <p>The chart when the program isn't run
  <a href="https://i.stack.imgur.com/q3GTT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q3GTT.png" alt="The chart when the program isn&#39;t run"></a></p>
  
  <p>The code in ProfileWindow.xaml: </p>
  
  <pre><code>&lt;lvc:CartesianChart Series="{Binding SeriesCollection}" LegendLocation="Right" Grid.Row="2" Grid.Column="2" Grid.RowSpan="3"&gt;
              &lt;lvc:CartesianChart.AxisY&gt;
                  &lt;lvc:Axis Title="Height" MinValue="0" MaxValue="1000" LabelFormatter="{Binding YFormatter}"&gt;
                      &lt;lvc:Axis.Separator&gt;
                          &lt;lvc:Separator Step="50"&gt;&lt;/lvc:Separator&gt;
                      &lt;/lvc:Axis.Separator&gt;
                  &lt;/lvc:Axis&gt;
              &lt;/lvc:CartesianChart.AxisY&gt;
              &lt;lvc:CartesianChart.AxisX&gt;
                  &lt;lvc:Axis Title="Samples" Labels="{Binding Labels}"&gt;&lt;/lvc:Axis&gt;
              &lt;/lvc:CartesianChart.AxisX&gt;
          &lt;/lvc:CartesianChart&gt;
      &lt;/Grid&gt;
  </code></pre>
  
  <p>I tried using Axis.Separator to use a set step of 50. But as you can see this doesn't work.</p>
  
  <p>The chart when running Visual studio:
  <a href="https://i.stack.imgur.com/SARhO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SARhO.png" alt="The chart when running Visual studio"></a></p>
  
  <p>The code in Mainwindow.xaml.cs</p>
  
  <pre><code>        public MainWindow()
          {
              InitializeComponent();
              AppWindow = this;
              OpenChildWindow(new DashboardWindow());
  
              SeriesCollection = new SeriesCollection
              {
                  new LineSeries
                  {
                      Title = "Series 1",
                      Values = new ChartValues&lt;double&gt; { 4, 60, 5, 2 ,4 }
                  },
                  new LineSeries
                  {
                      Title = "Series 2",
                      Values = new ChartValues&lt;double&gt; { 6, 7, 30, 4 ,6 },
                  },
                  new LineSeries
                  {
                      Title = "Series 3",
                      Values = new ChartValues&lt;double&gt; { 4,2,700,2,7 },
                  }
              };
  
              Labels = new[] { "Jan", "Feb", "Mar", "Apr", "May" };
              YFormatter = value =&gt; value.ToString("C");
  
              DataContext = this;
          }
  
          public SeriesCollection SeriesCollection { get; set; }
          public string[] Labels { get; set; }
          public Func&lt;double, string&gt; YFormatter { get; set; }
  </code></pre>
  
  <p>Where is my thinking/implementation fault? </p>