Recent

Author Topic: Gantt chart Demo  (Read 6011 times)

adilsonpazzini

  • New Member
  • *
  • Posts: 31
Gantt chart Demo
« on: August 22, 2017, 02:15:55 pm »
There is some Demo / example in the lazarus referring to the use of "gantt chart"
according to link https://plus.google.com/102234507512662777040/posts/EJ35qRssmLG .

I saw this feature also in ERP Promet, needed an example of how to use, if anyone can help me I thank

Adilson Pazzini .

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Gantt chart Demo
« Reply #1 on: August 22, 2017, 02:22:02 pm »
As far as I'm aware, there is no gantt chart in the default installation of lcl or fpc.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

Sharfik

  • Newbie
  • Posts: 6
Re: Gantt chart Demo
« Reply #2 on: May 02, 2026, 03:39:04 pm »
If you need to quickly raise a Gantt issue, check out this class.
https://github.com/pichugin-m/pk_gtfc
It's not yet a component; it's created through code.

wp

  • Hero Member
  • *****
  • Posts: 13502
Re: Gantt chart Demo
« Reply #3 on: May 02, 2026, 04:33:06 pm »
The initial post is almost 10 years old, but maybe it's worth mentioning that TAChart of Laz/main now has a TStateSteries which can be used for a simple Gantt plot (https://wiki.lazarus.freepascal.org/TAChart_documentation#TStateSeries), see demo in components/tachart/demo/stateseries of the Lazarus installation.

Sharfik

  • Newbie
  • Posts: 6
Re: Gantt chart Demo
« Reply #4 on: May 02, 2026, 09:00:41 pm »
If you search the internet, you can find 3-4 possible solutions, but they're all disparate pieces that don't form a cohesive, neat structure. In my opinion, they're a disgrace. They don't allow you to quickly create a live diagram. After looking at the demos, I realized I had to either use VirtualStringTree and train it, or create my own. I actually chose to create my own (the results are above), considering the need for live task manipulation from the canvas.

I know this is an old topic, but I don't like it when search engines return empty topics without solutions.

PS: sorry, I didn't notice that this topic was originally in the TAChart group.
« Last Edit: May 02, 2026, 09:05:35 pm by Sharfik »

 

TinyPortal © 2005-2018