Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load new chart type packages with google.charts.load #30

Closed
kyleledbetter opened this issue Jan 10, 2015 · 8 comments
Closed

Load new chart type packages with google.charts.load #30

kyleledbetter opened this issue Jan 10, 2015 · 8 comments

Comments

@kyleledbetter
Copy link

Any plans to implement the new Material Charts from https://developers.google.com/chart/interactive/docs/gallery/barchart#Material and https://developers.google.com/chart/interactive/docs/gallery/columnchart#Material?

@sgomes sgomes self-assigned this Jan 12, 2015
@sgomes
Copy link
Contributor

sgomes commented Jan 12, 2015

Oh, that's new! Thanks, I'll look into this!

@kyleledbetter
Copy link
Author

Cool! Maybe just an option that toggles this:

The Material Charts are in beta. The appearance and interactivity are largely final, but the way options > are declared is not. If you are converting a Classic Bar Chart to a Material Bar Chart, you'll want to replace this line:
chart.draw(data, options);
...with this:
chart.draw(data, google.charts.Bar.convertOptions(options));

@jilt
Copy link

jilt commented Mar 19, 2015

thanks a lot both of you :)

@albertolobrano
Copy link

I will need this feature so i will take some code from #39 and create a pr if it ok for you

@satyafantain
Copy link

How can we create Material Design on Google Chart?

@wesalvaro
Copy link
Member

Currently there are issues with using the Material libraries to draw charts in relation to the google-chart widget. The google.charts.load function may only be called once and loading with google.load yields buggy, inconsistent results. Also, given the differences between the material and non-material charts, i don't think it makes sense to just use a boolean attribute.

@wesalvaro wesalvaro self-assigned this Mar 15, 2016
@satyafantain
Copy link

thanks

@wesalvaro wesalvaro changed the title Material bar charts & column charts Load new chart type packages with google.charts.load Mar 16, 2016
@wesalvaro
Copy link
Member

wesalvaro commented Jul 20, 2016

BarChart was committed with #124. I'll hopefully get around to adding and testing the other chart types soon. We'll track all this in #94.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants