Export charts as pdf

0
Hi all, I have a question about the the Charts widget. I want to export my chart as a pdf.  I came to the point were I have just one icon to export the chart, which is exactly what I want. However, I can't change the output format from png to pdf.  I think I can change it with the 'toImageButtonOptions: {}' configuration, but I don't know the syntax to change the output format. Can anyone help me out here? Kind regards and keep it up with this extremely helpful community!
asked
2 answers
2

Hi,

There is a widget called Templator available, Using this we can create any page as a PDF which also includes the Mendix charts. Alternatively we can use JFree charts which allows us to create charts using JA.

Thank You

answered
0

The (plotly) charts widget works in your browser. PDF's are often created at the server. You can download the chart as an image but not as pdf. Running plotly on the server is quite complex. So there is no easy answer.

answered