Questions tagged [livecharts]

LiveCharts is an open source .NET charting library supporting WPF, WinForms, WinUI, Xamarin, MAUI, Avalonia, Uno and more.

Live Charts is a .NET data visualization library.

Source code and examples can be found in Live-Charts and LiveCharts 2 repositories on GitHub.

383 questions
11
votes
2 answers

LiveCharts WPF Slow with live data. Improve LiveCharts real-time plotting performance

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…
user5265160
  • 409
  • 1
  • 8
  • 19
8
votes
1 answer

Basics of LiveCharts -- How do I draw a Line?

I'm having a very difficult time understanding what's actually supposed to be happening with LiveCharts. I have a block of XAML here:
mkautzm
  • 1,086
  • 2
  • 18
  • 34
7
votes
3 answers

How do I correctly update my chart values? (In real time)

I recently encountered a tool called LiveChart and decided to test it out. Unfortunately I've been having some problems figuring out how to update the chart values in real time. I'm pretty sure there's a clean and correct way of doing it, but I…
Jose Cancel
  • 151
  • 1
  • 2
  • 15
5
votes
1 answer

Window not fully painting until I grab and move it

I recently added some charts to a WinForm that I am updating with live data. My form load likes like: private void MyForm_Load (object sender, EventArgs e){ ...bunch of…
5
votes
4 answers

LiveCharts WPF poor rendering performance

I am building a WPF tool for visualizing data for reefer containers (cooling containers). Pretty simple plot of sensor data (temperatures, setpoint, humidity). Problem is rendering performance. The data is loaded blazingly fast via REST API. After…
5
votes
3 answers

Basic WPF LiveCharts DateTime example not working

I've followed the Live Charts TimeDate basic example as closely as I can but can't seem to get the X axis to display properly. https://lvcharts.net/App/examples/v1/wpf/Date%20Time My MainWindow code public partial class MainWindow : Window { …
Mr J
  • 2,655
  • 4
  • 37
  • 58
5
votes
1 answer

Binding custom events of custom elements in MVVM Pattern

I'm trying to bind the "DataClick" event of LiveChart's Cartesian Chart element using MVVM pattern. I have my Charts.xml like this:
Renato Parreira
  • 838
  • 1
  • 7
  • 23
4
votes
1 answer

Can you display a line series with x and y value pairs using LiveCharts?

I am trying to display a line chart by providing x and y value pairs that get displayed by a cartesian chart. Is this possoble with LiveCharts? I can't find an example for this online. I know, that you can provide the labels for the x axis, but my…
Moritz Lahme
  • 53
  • 1
  • 5
4
votes
1 answer

How to make Live Charts DataTooltip only show current hover?

I have a pie chart using Live Charts in a winform and I've tried using the code in the documentation to change the tool tip to just the current hover: pieChart1.DataTooltip.SelectionMode = LiveCharts.TooltipSelectionMode.OnlySender; However I get…
Jacob
  • 346
  • 3
  • 13
4
votes
1 answer

How can I have a label on every column in a barchart using livecharts

Using LiveCharts(https://lvcharts.net/) and C# I want to have a barchart where every column has a label on the x-axis. However I am only getting a label on every second column. The labels exists datawise, as I can see them in a popup when I hover…
Thor Giversen
  • 153
  • 1
  • 9
4
votes
2 answers

Individually colored data points in LiveCharts WPF

I am using Live Charts WPF to draw some charts. To make each column bar of different color I added multiple series, but it doesn't show x-axis labels of all series. Why? senderChart.Series = new SeriesCollection(); int i = 0; var ax = new…
Hammas
  • 1,126
  • 1
  • 12
  • 37
4
votes
1 answer

LiveChart doesn't show all Labels on x-axis WPF

i am using LiveChart and loading some data.
Hammas_Stack1
  • 184
  • 1
  • 13
4
votes
2 answers

Setting the colour of a LiveCharts Series that has custom labels using XAML Binding

The typical way of setting the Series Fill and Stroke are explained perfectly on the Livecharts website. However, in order to set custom labels for points you need to create the Series in the view model (Shown below). This prevents you from being…
Chris Lawford
  • 55
  • 2
  • 9
4
votes
1 answer

How to add point one by one to serie in livechart

public ChartValues Series1 { get; set; } public void GeneratePlot(PlotInfo plotInfo) { DataContext = null; Series1 = new ChartValues(); Series1.AddRange(plotInfo.SeriesIn); DataContext =…
criser
  • 67
  • 6
4
votes
1 answer

How to set label color of livechart?

I have an application based on materialdesigninxaml framework where I can set the light and the dark color, when the light color is setted I can see correctly the label text which is black, but when I set the dark theme the label of the charts still…
il santino
  • 117
  • 3
  • 8
1
2 3
25 26