c3 0.1.0

Dart js
Flutter web

A starting point for Dart libraries or applications.

A generated Dart API for C3.js using pkg/js and dart_js_facade_gen.

Example #

import "dart:html";
import "package:c3/c3.dart" as c3;

main() async {
  await c3.load();

  final container = document.querySelector("#chart");

  final data = new c3.Data()
    ..columns = [
      ['data1', 30, 200, 100, 400, 150, 250],
      ['data2', 50, 20, 10, 40, 15, 25]
    ];

  final configuration = new c3.ChartConfiguration()
    ..bindto = container
    ..data = data;

  final chart = c3.generate(configuration);
}
1
likes
85
pub points
45%
popularity

Publisher

hadrienlejard.io

A starting point for Dart libraries or applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dart_browser_loader, js

More

Packages that depend on c3