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

google.visualization.DataTable column types #51

Closed
kamrat11 opened this issue Feb 6, 2019 · 1 comment
Closed

google.visualization.DataTable column types #51

kamrat11 opened this issue Feb 6, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@kamrat11
Copy link

kamrat11 commented Feb 6, 2019

in google charts there is an option to provide column types as part of the data array.
google.visualization.DataTable parses it correctly. this is mainly important where you have dates that can be sent as a string "Date(1,1,2019)";
getDataTable function in goolge-chart-component prevents this.
is there a way to allow this?

@FERNman FERNman added the bug Something isn't working label Feb 7, 2019
@FERNman
Copy link
Owner

FERNman commented Feb 7, 2019

Hi @kamrat11, thanks for pointing this out!

Theoretically, it is, of course, possible to allow this. I wasn't able to think of any use case before this issue, so maybe I'll add this in the future.

For now, you should be able to use the RawChartsComponent instead of the GoogleChartsComponent. This one allows you to pass a data object, just as you would to the Google library normally.

I'd love to hear if this resolves the issue for you!

Best regards, FERNman

@FERNman FERNman closed this as completed May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants