live_charts 0.0.2

  • Installing
  • Versions
  • 49

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

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


This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1


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]
98 / 100
Overall score:
Weighted score of the above. [more]


Detected platforms: web

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


  • Fix .analysis_options.

    We were unable to parse .analysis_options.

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

  • 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