Not able to load guage in genearted pdf from stiimulsoft reports
Not able to load guage in genearted pdf from stiimulsoft reports
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);
});
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);
});
-
- Posts: 6243
- Joined: Tue Mar 20, 2018 5:34 am
Re: Not able to load guage in genearted pdf from stiimulsoft reports
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.
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
Created stackbiltz with test data & attached here.Please have a look
https://codesandbox.io/s/dazzling-water ... src/App.js
https://codesandbox.io/s/dazzling-water ... src/App.js
-
- Posts: 6243
- Joined: Tue Mar 20, 2018 5:34 am
Re: Not able to load guage in genearted pdf from stiimulsoft reports
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
used below code:
https://github.com/stimulsoft/Samples-J ... F/index.js
-
- Posts: 786
- Joined: Tue Sep 07, 2021 10:11 am
Re: Not able to load guage in genearted pdf from stiimulsoft reports
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#8622
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#8622
-
- Posts: 786
- Joined: Tue Sep 07, 2021 10:11 am
Re: Not able to load guage in genearted pdf from stiimulsoft reports
Hello,
We will let you know about the result.
Thank you.
We will let you know about the result.
Thank you.
-
- Posts: 786
- Joined: Tue Sep 07, 2021 10:11 am
Re: Not able to load guage in genearted pdf from stiimulsoft reports
Hello,
The issue is fixed. The fix will be available in the next build next week.
Thank you.
The issue is fixed. The fix will be available in the next build next week.
Thank you.