Use Chart in reports?

Hi all,
Asking for experience.
If I generate charts with FNC Chart, can I then programmatically use the resulting chart into a reporting tool like FortesReport or Fast Report?
My guess is that I should save/export the chart into something like a bitmap or svg (if that's an option) as an object that I then integrate in the reporting tool?
Did anybody already deal with something like this?

Thanks for sharing any tips, experience.
Steve J

Hi,

There is an option to save TTMSFNCChart to an image, with

TMSFNCChart1.SaveToImage()

There is currently no option to export to SVG

Thanks,
I'll tinker with this very soon and see whether I can paste an image from an Chart object without saving the image to disk first. Should be dynamic.
If I succeed, I'll poste some code here for others to enjoy.

Steve J

Hi,

I meanwhile also worked on an SVG graphics engine for export. similar to our PDF graphics engine. In one of the next fnc core updates this will be integrated.

1 Like