title: LiveCharts plot XY Value
body: <p>I'm trying to write a code that plots a list of XY values to Live charts. The list in  question is attached but here is an example:</p>
  
  <pre><code>1 0,01
  1,01 0,01
  1,02 0,01
  1,03 0,01
  1,04 0,01
  1,05 0,01
  1,06 0,01
  1,07 0,01
  1,08 0,01
  1,09 0,01
  ...
  2,45 0,15
  2,46 0,15
  2,47 0,15
  2,48 0,16
  2,49 0,16
  2,5 0,16
  2,51 0,17
  2,52 0,17
  </code></pre>
  
  <p>I'm using the following code:</p>
  
  <pre><code>List&lt;double&gt; xValues, yValues;
              GenerateValues(out xValues, out yValues);
              ChartValues&lt;ObservablePoint&gt; ListPoints = new ChartValues&lt;ObservablePoint&gt;();
              for (int i = 0; i &lt; xValues.Count; i++)
              {
                  ListPoints.Add(new ObservablePoint
                  {
                      X = xValues[i],
                      Y = yValues[i]
                  });
              }
  
              var brush = new SolidColorBrush(Colors.Orange);
              brush.Opacity = 0.25;
              var series = new LineSeries();
              series.Values = ListPoints;
              series.Title = "Pressão";
              series.Stroke = new SolidColorBrush(Colors.OrangeRed);
              series.LineSmoothness = 0;
              series.PointGeometry = null;
              series.Fill = brush;
  
              var seriesCollection = new SeriesCollection { series };
  
              if (chart.AxisY[0] != null &amp;&amp; chart.AxisY[0].Labels != null)
                  chart.AxisY[0].Labels.Clear();
              if (chart.Series != null)
                  chart.Series.Clear();
              chart.AxisY[0].Title = "Pressão (bar)";
              chart.AxisX[0].Title = "Tempo (min)";
              chart.Series = seriesCollection;
  </code></pre>
  
  <p>However the result that I'm having doesn't match the X labels on the file. The shape of the curve is correct and the Y values as well but the X value is not. Follow an example of the result: <img src="https://i.stack.imgur.com/klcJ7.png" alt="ChartResult"></p>
  
  <p>Can anybody help me to understand this behaviour?</p>
  
  <p><a href="https://github.com/marcusbianchi/RecipeConfigurationApp" rel="nofollow noreferrer">GitHub with the Application</a></p>