Recent

Author Topic: Dislin charts in lazarus  (Read 804 times)

alaa123456789

  • Sr. Member
  • ****
  • Posts: 261
  • Try your Best to learn & help others
    • youtube:
Dislin charts in lazarus
« on: April 19, 2022, 10:02:12 pm »
Hi
i would like to share Dislin library for charts in free pascal can be downloaded from here for x64
https://www.dislin.de/news.html
 there are many examples in free pascal
https://www.dislin.de/exa_fp.html
but the issue how to use in a GUI form , can anyone help with that?

thanks

dbannon

  • Hero Member
  • *****
  • Posts: 3616
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Dislin charts in lazarus
« Reply #1 on: April 20, 2022, 02:03:02 am »
I am not sure thats possible -

"The source code of DISLIN is only available with a support contract. It may
be used for bug fixes and recompiling DISLIN. You are not allowed to distribute
the DISLIN source code, or to make it public."

Are you suggesting that you would add the binding to a (binary) library ?   And those binding are (or will be) open source ?  Given Dislin's closed source nature, my guess is there would not be a lot of interest .....

Lazarus has TAChart, maybe you would be better off concentrating on enhancing TAChart to do what you require ? Its already a pretty extensive 'package' and all open source.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

af0815

  • Hero Member
  • *****
  • Posts: 1406
Re: Dislin charts in lazarus
« Reply #2 on: April 20, 2022, 07:12:08 am »
https://www.dislin.de/exa_fp.html
but the issue how to use in a GUI form , can anyone help with that?
Ask Dislin direct is IMHO the best. If you read the documentation, you will see it have a lot of outputformats, but no interface to a GUI. So you can create a report, catch the output and show the output in your GUI. Its the same like reading a PDF or Image.
regards
Andreas

 

TinyPortal © 2005-2018