-
Hi, If I render it via cli, In the docx I do not have the rendered chart, but the python code? Is it normal? How to have a rendered chart? Shouldn't it be automatic? Thank you
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Dear @aborruso, altair uses Vega that produces a HTML + CSS + Javascript chart. It works out of the box when you are render to HTML. Unfortunately, it doesn't work for any other format (including DOCX and PDF). What Quarto does to enable some HTML + CSS + Javascript chart to be include in DOCX and PDF it to run a instance of Chrome and take a screenshot of the chart. I believe it was implemented for some libraries but not all. I will try to provide more details tomorrow. |
Beta Was this translation helpful? Give feedback.
-
My current way to do it, is via vl-convert
|
Beta Was this translation helpful? Give feedback.
My current way to do it, is via vl-convert