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

cloned locally and not working #10

Closed
kthouz opened this issue Jan 4, 2017 · 3 comments
Closed

cloned locally and not working #10

kthouz opened this issue Jan 4, 2017 · 3 comments

Comments

@kthouz
Copy link

kthouz commented Jan 4, 2017

I am trying to use your application locally and it doesn't work.
When I copy relevant pieces into my app, I get

Not Found

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

@agordon
Copy link
Owner

agordon commented Jan 4, 2017

Hi,

I'm not sure what you mean by "locally". This demo (and it's only a demo, proof-of-concept) requires a web server that can execute CGI scripts.
Did you setup such web servers and configured it to run the download.pl file as CGI ?

@mkermani
Copy link

Hello,
I was wondering if this saving procedure can be performed without web server? I am developing a tool which generates a sankey using d3js library and I would like to save it to pdf.
Many thanks in advance,

@agordon
Copy link
Owner

agordon commented Mar 20, 2017

I'm not up-to-date with javascript/client-side PDF technologies since d3_export was developed (in 2014).
Perhaps https://github.com/MrRio/jsPDF has gotten much much better and can do it entirely in client-side.

If SVG is sufficient, it's already possible.
If PNG is sufficient, try these: https://github.com/krunkosaurus/simg , http://techslides.com/save-svg-as-an-image

@agordon agordon closed this as completed Mar 20, 2017
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

3 participants