Giter Club home page Giter Club logo

live-charts's Introduction

GitHub license AppVeyor GitHub issues NuGet Gitter

Live charts is an easy way to build poweful charts, all charts are animated, they update every time you change your data, it also has an awesome performance.

  • 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.
  • Easy to maintain and create new charts, as you can see in the source code, some charts have almost no code.
  • Supports zooming and panning.
  • MIT License, permissive licensing.

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 ypu need so
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 seriesCollectionto 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.AxixX.Labels = labels;

About Versions

This library has suffared hard changes and it is in a pre-release state, even we are really close now to a 1.0 version documentations might not match with the latest release, examples in this repo are always up-to-date, the safest version is 0.6.4, the most animated and safe is 0.6.6, 0.7.0 is comming soon, fixing all reported bugs, adding at least 5 more series, and making live charts portable, this means this lbrary will be ready to run in WinForms, Wpf, Uwp and Xamarin.

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

  • Live Data: a charts that adds new data each second, DateTime as X Axis.
  • Filter records from a data base: a chart that pulls data from a data base according to a simple user filter.
  • IObservableChartPoint: this chart uses a view model that implements IObservableChartPoint, this will update chart every time a desired property changes.
  • There are much more examples in this solution, go to examples folder up here ^^^
  • High performance charts are almost ready, current test can draw 3 million points in only 1 second
  • Find more at http://lvcharts.net/

#Supported Platforms

Only WPF and WinForms for now, I am playing with the code to find an easy way to extend it as PCL

Installation

1. Install package from Nuget Install-Package LiveCharts

2. Add name space

To your XAML if using wpf

xmlns:lvc="clr-namespace:LiveCharts;assembly=LiveCharts"

Or WinForms and WPF code behind

using LiveCharts;

3. Thats it. You are ready.

Note: To install it for windows forms you will need some extra steps, plese see http://lvcharts.net/#/examples/v1/install-wf?path=WF-Install

How to Contribute

paypal

  • Star this repo
  • Try it
  • Report Issues and Improvements
  • Pull request are well received

Need examples?

Go to examples folder up there ^^^ or even better clone this repo and see included examples.

More Images

Perfomance Test

This test is in progress and is not ready yet, here is the example I made the tests but is not ready yet!

https://github.com/beto-rodriguez/Live-Charts/tree/master/WPFExamples/HighPerformance

live-charts's People

Contributors

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

Watchers

 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.