live_charts 0.0.2 copy "live_charts: ^0.0.2" to clipboard
live_charts: ^0.0.2 copied to clipboard

Dart 1 only

A library for creating live charts.

live_charts Pub #

A library for creating live charts.

Usage #

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
  chart.start();

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

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A library for creating live charts.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

More

Packages that depend on live_charts