diff --git a/demo/index.html b/demo/index.html index 616c84f..e33ce5e 100644 --- a/demo/index.html +++ b/demo/index.html @@ -364,7 +364,6 @@

Chart gallery

Chart gallery }()); +

Here's a wordtree:

+ + +

Here are three gauges:

} set-like object of gviz packages to load */ @@ -216,7 +227,8 @@ } return this._loadPackages([chartData.pkg || DEFACTO_CHART_PACKAGE]) .then(function() { - return namespaceForType(type)[chartData.ctor]; + var namespace = google[chartData.namespace] || namespaceForType(type); + return namespace[chartData.ctor]; }); }, diff --git a/google-chart.html b/google-chart.html index 3538617..0f1f6f3 100644 --- a/google-chart.html +++ b/google-chart.html @@ -111,6 +111,7 @@ * - `table` * - `timeline` * - `treemap` + * - `wordtree` * * See Google Visualization API reference (Chart Gallery) * for details.