c3.js chart and wkhtmltopdf - pdf-generation

I'm using c3.js (http://c3js.org/) and wkhtmltopdf (http://wkhtmltopdf.org/) to generate a PDF of the HTML page my chart lives on. My chart displays fine in the browser but is blank in wkhtmlpdf. Wkhtmltopdf reports no Javascript errors but the resulting PDF does not include the chart. Does anyone have a work around for this?
/wkhtmltopdf --javascript-delay 5000 "http://c3js.org/samples/chart_donut.html" ~/test.pdf

Upgrade to the latest version or there are a few workarounds explained
here https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1964 which appear to have resolved this issue.

Related

Syncfusion RTE duplicates image on paste

The problem is when I copy and paste an image from "Paint" to the Syncfusion RTE it duplicates that image for some reason.
Using ej1 Version=18.3450.0.35 in Asp Net Web Forms
I've tried to update Syncfusion to the latest version but it didn't help.
Checked the clipboard and it has only one file, as expected.
Replicated that in the official Synfusion Demo:
https://asp.syncfusion.com/demos/web/richtexteditor/inlinetoolbar.aspx
Works well in another Syncfusion demo:
https://asp.syncfusion.com/demos/web/richtexteditor/paste-cleanup.aspx
I've tried to put the same RTE as in the second (working) demo but it doesn't work for me.
Any ideas will be appreciated!!!
.aspx file
c# RTE initialization and tools
Fixed by removing 'html' from the 'style' section in the RTE innerHTML.
The reported issue is fixed in your mentioned version “18.3.0.35” in RTE, so kindly ensure this after clearing NuGet and browser cache in your sample.
Please refer to the following release notes.
https://help.syncfusion.com/js/release-notes/v18.3.0.35?type=all#ejrte-bug-fixes
We have also attached a simple sample in this version for your reference where pasting images from paint is working fine.
https://jsplayground.syncfusion.com/fkjqifbh

wkhtmltoimage rendered only bar instead full page

I have a problem with wkhtmltoimage 12.4 and the newest alpha version. I tried to save H&M webpage, but I only get a little bar instead full webpage. I tried use many of switches to change settings but nothing works. Is there any solution for achieve correctly webpage in png format? Thanks very much.
That is saved website...

Boost documentation images not appearing

I cannot view the images from boost.org documentation.
For example,
http://www.boost.org/doc/libs/1_58_0/libs/math/doc/html/math_toolkit/dist_ref/dists/hyperexponential_dist.html
Looking at the source code and clicking the image links, I get "Error 404: File not found".
Apparently my professor can view the images no problem, but my classmates and I cannot. Does anyone know why I can't view any of the images on the boost.org documentation website? Thanks.
The older 1.57.0 version is ok.
They changed their image format from PNG to SVG in v1.58.0, but these are not available on the site (the offline version contains the SVG files).

problems in displaying a text in the center

i am using dompdf to generate pdf files in joomla. I have problems in displaying a text in the center. i tried both css and inline methods in table td. Nothing worked.
Thanks
I resolved this issue by copying latest dompdf library into the joomla library folder. Now center alignment of text in pDF works perfectly.

Highcharts - IE8 not rendering chart correctly

We have a chart that is rendering incorrectly in IE8. We just updated the Highcharts.js file yesterday with the latest version as we were receiving a script error on "d.join". Now we don't get any script error and our page continues to load properly, a step in the right direction, however the chart is missing the axis and plot lines and the coloring.
Here is what the chart looks like in Chrome/IE10/IE9:
and in IE 8:
Please help me figure this out. Thanks!
It looks like your problem is due to upgrading to jQuery 2.x. jQuery has intentionally dropped support for Internet Explorer 8 and below. See http://blog.jquery.com/2013/04/18/jquery-2-0-released/
Your solution would be to either
Downgrade to jQuery 1.x
Drop your support for Internet Explorer 8

Resources