-
Notifications
You must be signed in to change notification settings - Fork 17
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
Use pablo to download a D3.js chart #97
Comments
When i attempt it like:
i get the console error: Object doesn't support property or method 'getBBox' from Pablo.js line 1453,25. This also happens when i try the selection using d3.select |
Thanks for your report, @dang2906. I tried to replicate this, but I don't get the error you see. I am guessing that the most likely cause is the placeholder element you are using is an HTML element and not the root SVG element. Could you confirm? Otherwise, it suggests that your browser doesn't support the SVG DOM method If so, could you supply a minimal script / image that you see this problem with? One simplification you can make is to avoid using jQuery - I presume that is the |
Would it be desirable and intuitive that calling |
Using Pablo I was only able to download the SVG when I called When I try to do it I get the same console error: Object doesn't support property or method 'getBBox' from Pablo.js line 1453,25. answering @premasagar 's question, it would be intuitive! Edit: My browser gets 100% at http://pablojs.com/tests/ |
Yes, only SVG elements can be downloaded in the current implementation. |
Hi,
I have multiple d3 charts and would like to download these as an image file. Is this possible with pablo? if so, how would i go about it correctly?
Many Thanks :)
The text was updated successfully, but these errors were encountered: