Giter Club home page Giter Club logo

live-charts's Introduction

GitHub license AppVeyor GitHub issues Gitter

  • WebSite
  • Chat
  • Questions, try Stack Overflow, tag your question as LiveCharts, I personally review at least 1 time a day all questions with this tag, posting in SO helps others and also brings more traffic and contributors to the library.

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.

  • 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.

This is the logic you use in every chart, there are just some litle 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});

Is live charts what you are looking for? see these interesting examples.

  • 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;

###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

Installation

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

Migrating from older versions?

Please see https://github.com/beto-rodriguez/Live-Charts/releases

How to Contribute

  • 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)

Examples?

The web site has a nice set, they are also built in the examples folder up here ^^^^

High perfomance?

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.

Road Map

  • Build at least all the features any other charting library does, in WPF and WinForms
  • Build High performance algorithms
  • Expand the library to at least Xamarin and UWP (should not be that hard, the code is already designed to support this point)
  • release 1.0 in WPF and WinForms, the other platforms will be beta, in case something went wrong.

live-charts's People

Contributors

beto-rodriguez avatar deadlyembrace avatar gregsdennis avatar douglasrocha avatar punker76 avatar hulihutu9 avatar philippevialatte avatar g1ga avatar ababilone avatar camou23 avatar thefirecookie avatar gitter-badger avatar megadan2 avatar

Watchers

duansm avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.