c3 0.0.1 copy "c3: ^0.0.1" to clipboard
c3: ^0.0.1 copied to clipboard

outdatedDart 1 only

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
0
pub points
21%
popularity

Publisher

verified publisherhadrienlejard.io

A starting point for Dart libraries or applications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dart_browser_loader, func, js

More

Packages that depend on c3