live_charts 0.0.2

  • Installing
  • Versions
  • 41

live_charts Pub

A library for creating live charts.


A simple usage example:

import 'dart:math';
import 'dart:async';
import 'package:live_charts/live_charts.dart';

main() {
  // create new options with the id of the parent element tag
  var chartOptions = new LiveChartOptions("wrapper");

  // create new chart
  var chart = new LiveChart(chartOptions);

  // start drawing the chart

  // feed data to it
  var rng = new Random();
  new Timer.periodic(new Duration(milliseconds: 100), (_) {

Features and bugs

Please file feature requests and bugs at the issue tracker.



  • restructured code
  • fixed example


  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  live_charts: "^0.0.2"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

      import 'package:live_charts/live_charts.dart';
Version Uploaded Documentation Archive
0.0.2 Jan 26, 2017 Go to the documentation of live_charts 0.0.2 Download live_charts 0.0.2 archive
0.0.1 Jan 25, 2017 Go to the documentation of live_charts 0.0.1 Download live_charts 0.0.1 archive


We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
98 / 100
Reflects how tidy and up-to-date the package is. [more]
60 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: web

Primary library: package:live_charts/live_charts.dart with components: html.


  • Fix .analysis_options.

    We were unable to parse .analysis_options.

  • Package is getting outdated.

    The package was released 72 weeks ago.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 2 hints.

    Run dartfmt to format lib/src/live_chart_options.dart.

    Run dartfmt to format lib/src/rgbcolor.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

  • Enable strong mode analysis.

    Strong mode helps you to detect bugs and potential issues earlier.Start your analysis_options.yaml file with the following:

      strong-mode: true


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0
Dev dependencies
test >=0.12.0 <0.13.0