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

Bug with line chart API #210

Open
ORESoftware opened this issue Mar 6, 2018 · 4 comments
Open

Bug with line chart API #210

ORESoftware opened this issue Mar 6, 2018 · 4 comments
Labels

Comments

@ORESoftware
Copy link

I am seeing what appears to be a bug with the line chart API:
https://developers.google.com/chart/interactive/docs/gallery/linechart

here is the problem:

https://stackoverflow.com/questions/49122990/getting-cannot-read-property-vb-of-undefined-error-with-google-chart-api

the error appears to be internal to the Chart API lib:

screenshot 2018-03-05 19 48 38

@ORESoftware
Copy link
Author

Yeah this is a bug, this happens when Google Charts receives an empty array:

data.addRows([]);

that's something that Google Charts should handle, instead of breaking. :(

@wesalvaro wesalvaro added the bug label Mar 9, 2018
@wesalvaro
Copy link
Member

You're right that there isn't a whole lot of error checking in cases like that.
It'd be a good idea to not only handle that but also add some tests for these kinds of cases.

@ORESoftware
Copy link
Author

+1

@AndreMendesMarcondes
Copy link

You should wait for finish the request, put await or then after the request and wait it to end

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

No branches or pull requests

3 participants