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

Export chart has Print,PDF,PNG and JPG #1964

Open
mreddyc opened this issue Feb 15, 2017 · 2 comments
Open

Export chart has Print,PDF,PNG and JPG #1964

mreddyc opened this issue Feb 15, 2017 · 2 comments

Comments

@mreddyc
Copy link

mreddyc commented Feb 15, 2017

Hi Team,

I am Using C3js from couple of years i want know whether we can export the chart has print,pdf, png and jpg format.

example link: http://www.highcharts.com/demo/line-basic

example

If anyone can provide me with example it will be helpful for verifying it..

Thanks

@netil
Copy link

netil commented Feb 15, 2017

The easiest way to do, is import to canvas and then export it to image.

@Flowkap
Copy link

Flowkap commented Feb 17, 2017

@netil: Thats exactly what we're doing as well. As c3 internally uses svg's its quite simple if not supporting legacy browsers. We even do it completely client side in conjunction with pdfmake.

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