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

Exporting #26

Closed
ActiveScottShaw opened this issue Jun 21, 2016 · 2 comments
Closed

Exporting #26

ActiveScottShaw opened this issue Jun 21, 2016 · 2 comments

Comments

@ActiveScottShaw
Copy link

We have downloaded 'html2canvas', and turned on the 'Export' button.

It does generate and download a png image .... but the image is always cropped.

Our Org Chart, can be quite long, so ends up having scroll bars (often both x and y axis)... is this the reason the image gets cut? ... if so is there a way to 'Force it' to be the whole area?

@ActiveScottShaw
Copy link
Author

I also am wondering if there is also an issue with the 'orientation' when trying yo export .... all your examples use the 't2b' .... we are using 'l2r'

But as you are using CSS to rotate, this means the 'width' and 'height' go in the opposite directions, which I think will also cause issues when exporting

@dabeng
Copy link
Owner

dabeng commented Jun 26, 2016

Hi @ActiveScottShaw , you could try version 1.1.0 to test your huge Org Chart, I have fixed the bug that exported picture is always cropped.In fact, to avoid this issue, you need some tricks based on html2canvas' new options. For more details, you could review niklasvh/html2canvas#60

@dabeng dabeng closed this as completed Jun 30, 2016
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

2 participants