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
4
votes
1 answer

How to access index when using Mappers.Xy with vertical Series?

I'm trying to understand the Mappers.XY class using a vertical series based on doubles. To test it, I want to have all the even indices of the Y axis be red filled but the .Fill seems to only use the X values. Here's the code I have and the…
hillborne
  • 45
  • 4
4
votes
4 answers

Convert List to LiveCharts.IChartValues

I want to plot my double values in a graph with LiveCharts. But I can't convert my values. I get the error: Cannot convert source type 'System.Collections.Generic.List to target type 'LiveCharts.IChartValues' This is my code (maybe not…
kame
  • 20,848
  • 33
  • 104
  • 159
4
votes
1 answer

How do I enter a 'null' value in a LineSeries?

I have a 'line' of values where some information might be missing. e.g.: Jan - 10, Feb - 20, Mar - 15, Apr - null, Jun - 45 ... etc I would expect that in the chart the NULL value will simply appear 'empty' (missing) from the line. e.g. I have…
hyankov
  • 4,049
  • 1
  • 29
  • 46
4
votes
0 answers

Specifying DataTemplate for Live Charts Series

I'm looking to build a Scatter plot with a best fit line using Live Charts. Now the way I've been doing this is by having a SeriesCollection on the main view model like so, within the class of this interface I manually add the BubbleSeries and the…
Stephen Ross
  • 882
  • 6
  • 21
4
votes
1 answer

How customize column width in column series?

I would like to know if is possible to customize the column width of a bar graph. Regards Franco
FrancoTampieri
  • 722
  • 8
  • 12
3
votes
1 answer

Elmish.Wpf binding for LiveCharts LabelFormatter

I am trying to convert the LiveCharts example for a Basic Line Chart to use with Elmish.Wpf I have bindings for everything except the "YFormatter". What sort of Binding should I use? type Model = { AllSeries: SeriesCollection Labels:…
Paul Smith
  • 109
  • 4
3
votes
0 answers

How do I change the Animation of a LineSeries? LiveChart.Wpf

I have several LineSeries which are displayed in a CartesionChart. The Series is created in the Code behind and filled in a SeriesCollection. Everything works fine it is displayed correctly. The Problem is the Animation, first the points "fly" in…
Sharku
  • 1,052
  • 1
  • 11
  • 24
3
votes
1 answer

In wpf, using livecharts, how can I set minimum distance between point and columns?

I'm using wpf and livecharts to wpf app. I want to set minimum distances at but can't find out options. I'm using 2 kind of charts. one is lineseries chart and the other is column series chart. Because livechart automatically resize axis X and Y…
박영환
  • 99
  • 11
3
votes
1 answer

LiveCharts SeriesCollection not showing on CartesianChart

After modifying the code provided on the website's documentation, I have had trouble displaying the SeriesCollection. Let me show you what I have done. Firstly, the XAML:
3
votes
0 answers

At WPF using Live Charts, Can I add emphasis line on multiple specific label?

I'm using wpf with live charts library. While I draw line chart, I want to add emphasis line on specific label. It can be a important date with an event. At first, I added another lineseries about the event. to use geometry as a marker. But the…
박영환
  • 99
  • 11
3
votes
0 answers

Show all lables on x-Axis Live charts Wpf

Trying to plot some data on line chart. I am fetching data from Datbase and getting x-axis and y-axis values. Adding values in label of X-axis like below.
Hammas_Stack
  • 99
  • 1
  • 9
3
votes
1 answer

Plot Multiple Y-Axis against one X-Axis of DateTime in LiveCharts

In my application, I have four series that I want to plot to a Line Graph. Each series is of the same size, three of which are double and the last one is a DateTime list. The three double series come in a list of class objects of type GraphData…
Sach
  • 10,091
  • 8
  • 47
  • 84
3
votes
2 answers

C# Winforms Livecharts: Fire Event when rendering of CartesianChart is finished

I am using LiveCharts.WinForms.CartesianChart to render a large amount of points: myChart.Zoom = ZoomingOptions.X; myChart.Pan = PanningOptions.X; myChart.Series.Add(new LineSeries { Values = chartValuesScores, Fill =…
Code Pope
  • 5,075
  • 8
  • 26
  • 68
3
votes
2 answers

Different colors for each value in a ColumnSeries

I am using LiveCharts in WPF to create a Cartesian Chart with columns. The values come from a list which in turns is populated with values from a database. Everything works fine except I would like each column to have a different fill. It does not…
Mysterio
  • 139
  • 12
3
votes
2 answers

How to remove tool tip percentage in livechart

I use Stack Column bar in livecharts and when I hover the bar column, Active Tooltip. But I want to remove percentage. Thx
Mr.MK
  • 192
  • 1
  • 4
  • 13
1
2
3
25 26