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

[Question] print / export chart #79

Open
mykljohn opened this issue Jun 17, 2016 · 2 comments
Open

[Question] print / export chart #79

mykljohn opened this issue Jun 17, 2016 · 2 comments

Comments

@mykljohn
Copy link

How can I export or print the beautiful chart that is generated?

It exports to excel, pdf, or send the report to the printer, but nothing with the chart.

@mykljohn
Copy link
Author

mykljohn commented Jun 18, 2016

I figure this out,

had to add:
<script type="text/javascript" src="{{ STATIC_URL }}model_report/js/highcharts/js/modules/exporting.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}model_report/js/highcharts/js/modules/offline-exporting.js"></script>
After:
<script type="text/javascript" src="{{ STATIC_URL }}model_report/js/highcharts/js/highcharts.js"></script>

but it only exports the chart separately...is there any way to export it together with the report as one pdf?

@mykljohn
Copy link
Author

@juanpex , Hey...any idea if this is possible? It would be nice to print the whole thing together. Maybe with a js html to hpg or pdf utility. I just tried http://www.web2pdfconvert.com/ not a bad job. :) cheers.

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