dygraph 0.1.1 copy "dygraph: ^0.1.1" to clipboard
dygraph: ^0.1.1 copied to clipboard

outdated

Dart JS interop for Dygraph - fast, flexible open source JavaScript charting library.

example/example.dart

import 'dart:html';

import 'package:dygraph/dygraph.dart';

void main() {
  final el = document.getElementById('chart_container');

  final options = DygraphOptions(
    labels: ['Index', 'X', 'Y'],
    colors: ['blue', 'red'],
  );

  final data = [
    [1, 10, 100],
    [2, 20, 80],
    [3, 50, 60],
    [4, 70, 80],
  ];

  Dygraph(el, data, options);
}
2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Dart JS interop for Dygraph - fast, flexible open source JavaScript charting library.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

js

More

Packages that depend on dygraph