[Pas2js] [OT] TjsPDF for Pas2JS: Generating PDF files at client-side (online example)
silvioprog
silvioprog at gmail.com
Wed Dec 19 23:57:59 CET 2018
On Wed, Dec 19, 2018 at 7:03 PM Michael Van Canneyt <michael at freepascal.org>
wrote:
> Hi,
>
> I didn't have time to reply to your earlier post yet, but I did see it.
>
no hurry dude. ☺
I would be very interested in this: as you know FPC also contains a PDF
> generator. It would be good if the public interfaces could be made as
> compatible as possible.
>
I agree with you. We could use the TjsPDF/jsPDF (and its modules
<https://github.com/MrRio/jsPDF/tree/master/src/modules>) as engine for
fpReport. I never tried fpReport (yet), but i think it is possible to
extend it using third-party libraries.
Another great library i'm using is the CharJS. Some official examples:
1. https://www.chartjs.org/samples/latest/charts/area/line-boundaries.html
2. https://www.chartjs.org/samples/latest/charts/line/basic.html
3. https://www.chartjs.org/samples/latest/charts/bar/vertical.html
I have a very inicial class mapping it, but it is already generating basic
charts.
So yes, I would be interested in adding it to the public pas2js library.
>
awesome news! \o/
--
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20181219/9831736d/attachment.html>
More information about the Pas2js
mailing list