Page 1 of 1

Not able to load guage in genearted pdf from stiimulsoft reports

Posted: Thu Oct 20, 2022 9:07 am
by kumar2011
Actually created dashboard design page with guage & text. When generating the pdf from that design, guage is missing in the pdf & able to see text. Attached sample images below: Can you help me to solve this issue

Code:

var Stimulsoft = require("stimulsoft-dashboards-js");

Stimulsoft.Base.StiFontCollection.addOpentypeFontFile(
"/home/nineleaps/DIY/wagrowth/server/public/Roboto-Black.ttf"
);

var report = new Stimulsoft.Report.StiReport();

// Loading report template
report.load(design);

report.renderAsync(() => {
console.log("Report rendered. Pages count: ", report.renderedPages.count);

// Export to PDF
report.exportDocumentAsync((pdfData) => {
// Converting Array into buffer
var buffer = Buffer.from(pdfData);

// File System module
var fs = require("fs");

// Saving string with rendered report in PDF into a file
fs.writeFileSync("./SimpleList.pdf", buffer);

console.log("Rendered report saved into PDF-file.");
}, Stimulsoft.Report.StiExportFormat.Pdf);
});

Re: Not able to load guage in genearted pdf from stiimulsoft reports

Posted: Thu Oct 20, 2022 9:22 am
by Lech Kulikowski
Hello,

Please check the last release buid. If the issue is still present, please send us a sample report with test data that reproduces the issue for analisys.

Thank you.

Re: Not able to load guage in genearted pdf from stiimulsoft reports

Posted: Thu Oct 20, 2022 10:48 am
by kumar2011
Created stackbiltz with test data & attached here.Please have a look

https://codesandbox.io/s/dazzling-water ... src/App.js

Re: Not able to load guage in genearted pdf from stiimulsoft reports

Posted: Fri Oct 21, 2022 8:29 am
by Lech Kulikowski
Hello,

Please check your report on our samples.
https://github.com/stimulsoft/Samples-JS

Thank you.

Re: Not able to load guage in genearted pdf from stiimulsoft reports

Posted: Tue Nov 01, 2022 3:59 am
by kumar2011
Tried with your samples but still not able to load guage in pdf.

used below code:
https://github.com/stimulsoft/Samples-J ... F/index.js

Re: Not able to load guage in genearted pdf from stiimulsoft reports

Posted: Tue Nov 01, 2022 8:18 am
by Max Shamanov
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#8622

Re: Not able to load guage in genearted pdf from stiimulsoft reports

Posted: Thu Nov 03, 2022 4:42 am
by kumar2011
Sure

Re: Not able to load guage in genearted pdf from stiimulsoft reports

Posted: Thu Nov 03, 2022 12:58 pm
by Max Shamanov
Hello,

We will let you know about the result.

Thank you.

Re: Not able to load guage in genearted pdf from stiimulsoft reports

Posted: Fri Nov 11, 2022 11:01 am
by Max Shamanov
Hello,

The issue is fixed. The fix will be available in the next build next week.

Thank you.