Server Module Generate a Graph chart image

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
adrian.bustillo
Posts: 21
Joined: Thu Mar 16, 2017 5:14 pm

Server Module Generate a Graph chart image

Post by adrian.bustillo »

Hi!

Background to the question:

A customer request to generate a graph and plot it to PDF. Basically a report contains table and graphs. I am done with the table using integrator. This is a VL-Web application

My main problem now is that to generate the graphical image to PDF? Are there any server function routine or program that can do this? Generate graphical chart image.

I'm ok if I will have 2 server routine request to generate the image first then plot it to the PDF using image.
User avatar
Dino
Posts: 472
Joined: Fri Jul 19, 2019 7:49 am
Location: Robbinsville, NC
Contact:

Re: Server Module Generate a Graph chart image

Post by Dino »

You may have to find a service to generate the image and give it back you as image png jpg etc or to use some Javascript to generate it, maybe make it a widget, so you can Include the image as usual un a pdfdocument integrator service report.

Some ideas
https://stackoverflow.com/questions/532 ... in-node-js
Post Reply