-
Notifications
You must be signed in to change notification settings - Fork 27
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
Bar/Pie "Row given with size different than" #52
Comments
Do you mind sending me a copy of the script ( [email protected])? I'd like to debug the results coming back from the API. |
Hey Tyler, It appears this is working fine now. Might have been an issue with Google... Wouldn't surprise me any. ha Cheers, |
Hey Tyler, I just sent you an email. It actually appears this is still happening when you try to set a fitler (ga:pagePath==/TEST) on Pie or Bar graphs. Cheers, |
@awellis13 Ah I see the issue. This is happening when the results are empty. I will leave this open until there is a fix for this. (filling with zeroes, perhaps?) |
@tshaddix Take a look at the Timeline implementation though. Here is a screenshot: http://d.pr/i/xfNv So there is data coming back for the graphs. Can you see anything on the request that maybe I'm doing wrong for the Pie/Bar? |
@awellis13 is this for another query? Using the script provided, I'm getting zero rows back. |
@tshaddix Take a look at the Gist; I have updated it to include the Timeline as well. |
@awellis13 So when using
|
@tshaddix I do receive results. It currently is showing "Americas: 1" on the Query Explorer. I also am running into issues where the Bar chart fails when setting it to |
@awellis13 Ahh, so I'm guessing this page was recently visited? OOcharts caches similar requests for an hour to minimize load and quota usage on our Google keys. Once the cache is clear, you should be seeing similar results on the OOcharts end. |
@tshaddix Cool, I'll try again in the morning since my day is coming to a close. I'll let you know if I continue to receive issues. |
@awellis13 Great! Hoping to hear good news. |
@tshaddix Doesn't look promising. I'm toying around and changing the For example, this is one I tried and it returned "1 Visit" using the Query Explorer, and then I tried loading it through OOCharts and it broke with the same error.
On the Query Explorer I had the following set:
And a screen shot of the results: http://d.pr/i/HLZK |
@tshaddix Hey man, so this seems to be working correctly, but there is for sure a bug when an empty result set comes back. To test, simply use:
For now, I'm going to put in an exception handler for this and just display a sad panda face. Cheers, |
@awellis13 That's great! Sad panda faces are always the best way to go in situations like this. I'll keep this bug open for handling empty result sets. |
@tshaddix It appears all that you need to do is simply change:
To:
That prevents adding empty data to the Cheers, |
👍 Looks good. |
Hello,
Using the latest master.zip and the following JS results in the following errors.
JS
For the bar, we get this error:
For the pie, we get this error:
We have created a simple HTML document that does nothing but include oocharts.min.js and even tried removing jQuery and using window.onload. This results in the same issue.
Cheers,
Andrew
The text was updated successfully, but these errors were encountered: