Replies: 2 comments
-
HI, Can you please share the solution of export chart to pdf |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI Guys,
I'm new for Serenity.
I want to add pie chart at pdf report (export-pdf-button , using WKHTMLToPdf? ) as below:
put script at head:
<script src="~/lib/chartjs/chart.min.js"></script> <script> document.addEventListener('DOMContentLoaded', (event) => { var canvas = document.getElementById('pieChart'); var ctx = canvas.getContext('2d');I can see pie at html format:
Please advise.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions