title: LiveCharts WPF Slow with live data. Improve LiveCharts real-time plotting performance
body: <p>I am investigating the use of LiveChart within a WPF application for the purpose of plotting in real time, temperature measurements.
  I have put together a simple line chart example to read data at 10Hz, and redraw for every sample. However, I am finding that the redraw rate is around 1Hz. This seems very slow for a WPF Live charting tool.
  My xaml is as follows :</p>
  <pre><code>&lt;lvc:CartesianChart x:Name=&quot;TemperatureChart&quot; Grid.Row=&quot;1&quot; LegendLocation=&quot;Right&quot; Hoverable=&quot;False&quot; DataTooltip=&quot;{x:Null}&quot;&gt;
      &lt;lvc:CartesianChart.Series&gt;
          &lt;lvc:LineSeries x:Name=&quot;TempDataSeries&quot; Values=&quot;{Binding TemperatureData}&quot;&gt;&lt;/lvc:LineSeries&gt;
      &lt;/lvc:CartesianChart.Series&gt;
  &lt;/lvc:CartesianChart&gt;
  </code></pre>
  <p>And snippets from my view Model is as follows :</p>
  <pre><code>ChartValues&lt;ObservableValue&gt; _temperatureData = new ChartValues&lt;ObservableValue&gt;();
  
  public ChartValues&lt;ObservableValue&gt; TemperatureData
  {
      get =&gt; this._temperatureData;
      set =&gt; this._temperatureData = value;
  }
  
  void Initialise()
  {
      _temperatureMonitor.Subscribe(ProcessTemperatures);
  }
  
  void TestStart()
  {
      _temperatureMonitor.Start();
  }
  void TestStop()
  {
      _temperatureMonitor.Stop();
  }
  void ProcessTemperatures(TemperatureData data)
  {
      TemperatureData.Add(data.Temperature);
  }
  </code></pre>
  <p>I am not working with a large amount of data, and have tested with a limit of 100 values. I am confident that my thread, which reads the data has little overhead, however the redraw plots around 10 points at a time.</p>
  <p>Have I implemented the binding correctly?
  Do I need to add property notifications to force the update? My understanding was that this was handled by ChartValues.</p>
  <p>Thanks.</p>
  <p>Update. Oxyplot produced the desired results shown below by binding to an ObservableColllection of DataPoints. It would be nice to get the same performance using LiveCharts, as it has really nice aesthetics.</p>
  <p><a href="https://i.stack.imgur.com/1avlv.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/1avlv.gif" alt="OxyPlot Capture" /></a></p>