-
Notifications
You must be signed in to change notification settings - Fork 147
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
Render static images for pdf/html output #24
Comments
Hi @reinholdsson. Interesting! Obviously this would be a really nice feature ;). I'll check the link to see how it works and try to implement. I guess I'll ask some question if you dont mind 😅 Thanks |
@jbkunst Sounds great! Of course, I'm glad to help :) |
Hi @reinholdsson , Doy you know if exists a function to check if you're are knitting to pdf or html? I want to do something like this:
|
@reinholdsson tyvm! It seems that your search skills are better than mine. Thanks again! |
Hi @reinholdsson, knitr (https://github.com/yihui/knitr/blob/master/NEWS.md) will have a feature to generate a static image from a widget in non html documents using the https://github.com/wch/webshot. So I will close this issue and we can open if this feature/solution dont work with highcharter. Kind regards, |
@jbkunst hey , what if I only what highcharter to be static on my html file ? thanks |
Hello, I'm using the pdf() function to save my plots in a pdf file when I run my R script on the command line (this is why I can't use RMarkdown/knittr). Does highcharter allow saving the charts to a static pdf using the pdf() function? |
Not sure if you have already looked into this, but one feature I would really appreciate is to be able to generate static chart images:
I think it would be really useful when creating different outputs (pdf or html) in rmarkdown. For example, when rendering a pdf document the package would automatically render a static image instead of an interactive javascript chart.
For an example, see: https://github.com/reinholdsson/test-highcharts-server-side-charts
What do you think about adding this feature to highcharter?
Keep up the good work! :)
The text was updated successfully, but these errors were encountered: