GoogleWebComponents / google-chart

Google Charts API web components
https://www.webcomponents.org/element/@google-web-components/google-chart/elements/google-chart
Apache License 2.0
354 stars 129 forks source link

Support other chart types!!!1 #94

Open ktiedt opened 8 years ago

ktiedt commented 8 years ago

See: https://developers.google.com/chart/interactive/docs/gallery/annotationchart

wesalvaro commented 8 years ago

This might be an easy change or it could encounter the same roadblocks as #30.
I'll take a look soon.

ktiedt commented 8 years ago

I've did a bit of digging, its a 3 line change to make annotation-chart load, however, it is incompatible with ShadowDOM due to external CSS requirements.

wesalvaro commented 8 years ago

Yes, but that is consistent with the Table chart, too, right?

kenjitoyama commented 8 years ago

Any news on this? I'm interested in using Annotation charts with Polymer.

wesalvaro commented 8 years ago

@kenjitoyama You can add those three lines to the configuration object in the code to try it out. I haven't done it but I suspect you may run into the CSS issues that @ktiedt mentions.