- WebSite
- Chat
- Questions and support?, we are always happy to help you at our chat, if you require so you can also try Stack Overflow.
What is Live-Charts?
Animated, MVVM orientated .Net charts, for WPF, WinForms under MIT Licence, written in C#, LiveCharts listens for any change in your data automatically and updates UI.
Live charts makes your data alive, as easy as manipulating any .net list, the library animates and updates every time your data changes.
it also is:
- Good looking, animated and easy to customize charts, you can practically change all properties.
- Autoupdate UI, you just create a SeriesCollection, then LiveCharts will handle everything.
- MVVM Charting, Support for WPF Bindings.
- Supports zooming and panning.
- MIT License, permissive licensing, yes free.
Why is LiveCharts different to other charting libraries?
First: animations and good looking charts by default, second: responsive charts these charts automatically update when your data changes also when you resize your chart, finally LiveCharts MVVM is different and for me it feels better than other libraries, becuase LiveCharts uses generics and with it strongly typed modeling, others use reflection to get the property value.
How to use it?
This is the logic you use in every chart, there are just some little properties or rules that change from each type of chart
//create a new SeriesCollection
var seriesCollection = new SeriesCollection();
//create some LineSeries if you need so, there are many supported series
var charlesSeries = new LineSeries
{
Title = "Charles",
Values = new ChartValues<double> {10, 5, 7, 5, 7, 8}
};
var jamesSeries = new LineSeries
{
Title = "James",
Values = new ChartValues<double> { 5, 6, 9, 10, 11, 9 }
};
//add series to seriesCollection
seriesCollection.Add(charlesSeries);
seriesCollection.Add(jamesSeries);
//now just assing this seriesCollection to your chart
//you can use wpf bindings if you need it
myChart.Series = seriesCollection
//create some labels if necessary
var labels = new string[] {"Jan", "Feb" , "Mar", "Apr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dec"};
myChart.AxisX.Add(new Axis { Labels = labels});
- Live Data: a charts that adds new data each 300ms, DateTime as X Axis.
- Observable Points: notify the chart to update every time a property changes
- Simple Bar Chart: a simple bar chart.
- Do not need animations? ok disable them, performance will be increased also,
Chart.DisableAnimations = true;
-
Build at least all the features any other charting library does, in WPF and WinForms - [In progress] Build High performance algorithms
- [In progress] Expand the library to:
-
WPF -
WinForms - UWP [In progress]
- Xamarin
- Release 1.0 in WPF and WinForms, the other platforms will be beta, in case something went wrong.
###Support
WPF and Winforms, currenlty the library is in the process to become a cross net library...
###Net Version
.Net 4.0.3 or greater, Windows XP SP3 at least, for more info see #212
Verify your project uses .Net 4.0.3 or greater, then follow these steps.
To verify if you are using a supported .net version, go to SolutionExplorer > Right click on your project > Properties > Application, then verify Taret framework is set at least to .net 4.0.3
Please see https://github.com/beto-rodriguez/Live-Charts/releases
- Star this repo
- Try it
- Report Issues and Improvements
- Pull request are well received
You can also buy me a beer
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J86WDLSS9PWGL)The web site has a nice set, they are also built in the examples folder up here ^^^^
LiveCharts will also handle high performance, it is not ready yet but the current tests allows the library to plot 3,000,000 in 1 second, yes even with aniations.
- JetBrains, for the resharper license.
- Contributors and any one brave enough to report any new issue