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

outdatedDart 1 only

A package to call Google's Visualization / Charts API directly from Dart.

google_visualization_api #

A library to make it easy to use Google's visualization api

Usage #

You can use the api almost as you would do in the javascript version like this:

LineChart.load().then((_) {
  LineChart chart = new LineChart(...);
  DataTable data = new DataTable(...);
  chart.draw(data);
});

Make sure you use each chart's load method that will load the correct chart packages for you automatically. When using the API itself you can use Chart.load() to only load the API without any packages.

Events #

Following Events are supported by the different chart types:

Name select ready animationfinish click error onmouseover onmouseout regionClick collapse rangechange page sort rollup
AnnotationChart x x x
AreaChart* x x x x x x x
BarChart* x x x x x x x
BubbleChart* x x x x x x x
Calendar x x x x x
CandleStickChart* x x x x x x x
ColumnChart* x x x x x x x
ComboChart* x x x x x x x
Gauge
GeoChart x x x x
Histogram* x x x x x x x
LineChart* x x x x x x x
Map x x
OrgChart x x x x x
PieChart* x x x x x x
Sankey x x x x x
ScatterChart* x x x x x x x
AreaChart* x x x x x x x
Table x x x x
Timeline x x x x x
TreeMap x x x x x
WordTree x x

*) core chart

0
likes
0
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A package to call Google's Visualization / Charts API directly from Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

browser, polymer

More

Packages that depend on google_visualization_api