Is it possible to export graphs in 1 pdf?
You can export charts to the PDF format, but it will be shown as a datatable. toPDF works with data components.
As a workaround: https://snippet.webix.com/1iiz8dat
Thx, it is exactly what is needed, but can I export a few charts in one PDF?
Please check this
In future versions we will add API to export charts as images, as well as several widgets, so the above functionality will work out of box.
Thanks, it helped a lot) But I have a new problem, not all charts are shown in PDF, https://prnt.sc/mf4lja How I can fix this problem?
Could you please send a snippet with a problematic code?
There may be a problem with the spacer
So try to add background:"#fff", to the html2canvas library as
Please check the sample: https://snippet.webix.com/pq6u3ti0
@Nastja It did not help https://snippet.webix.com/vs25egzq
Unfortunately, the problem doesn't relate to Webix
With PDF export Webix relies on thirdparty libraries, so we are limited by their possibilities.
You can try to add
$$('sc').$view.style.overflow = "visible";
$$('sc').$view.style.overflow = "scroll";
Quick sample: https://snippet.webix.com/gxj56fcp
As a workaround
You can set a fixed size via CSS
width: 3000px !important;
height: 3000px !important;
In another way, is possible to use another library
Thx for help)
It looks like you're new here. If you want to get involved, click one of these buttons!