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

ImageGraph not working #12

Open
gpolek opened this issue Apr 5, 2014 · 0 comments
Open

ImageGraph not working #12

gpolek opened this issue Apr 5, 2014 · 0 comments

Comments

@gpolek
Copy link

gpolek commented Apr 5, 2014

It is impossible to get image from ImageGraph.get() method because API call return image eg. http://demo.piwik.org/?module=API&method=ImageGraph.get&idSite=7&period=day&date=today&apiModule=UserCountry&apiAction=getCountry&outputType=0&showLegend=1&fontSize=9&aliasedGraph=1&textColor=222222&backgroundColor=FFFFFF&gridColor=CCCCCC&legendAppendMetric=1&format=JSON&token_auth=anonymous
but ApiModule.api_call returns [] if it is not string nor hash.

However, if it is possible can you guide me how to achieve this? I get proper object of ImageGraph but I cannot extract image url or image itself from it.

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

No branches or pull requests

1 participant