Recent

Author Topic: Word/Tag Clouds with Lazarus  (Read 2952 times)

DeBritto

  • Jr. Member
  • **
  • Posts: 68
Word/Tag Clouds with Lazarus
« on: July 08, 2016, 11:08:33 pm »
Hi,

Anyone know a component or routine (open source) to create word/tag clouds like this one?
 It will be better if the graphics are geberated using HTML code.

« Last Edit: July 08, 2016, 11:21:03 pm by DeBritto »

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: Word/Tag Clouds with Lazarus
« Reply #1 on: July 09, 2016, 01:28:34 am »
Anyone know a component or routine (open source) to create word/tag clouds like this one?
Open source seems to be the hardest part there. TMS software has such a (payed) component and there are several other companies that advertise as such (mostly delphi/commercial).

The only one i was able to find so far is icetagcloud.

Quote
It will be better if the graphics are geberated using HTML code.
You want a lazarus component that shows you tags inside your program and it should preferably use HTML to display that ? If so, then i find that an odd preference.

Inheriting from a TGraphicControl (as icetagcloud does) is perfectly capable of 'mimicking' a html link (in case that is the effect you are looking for).

The icetagcloud component is a bit basic though and i did notice some strange oddities. But, perhaps i did not fully understood how to use the component as i created it on-the-fly. It is a delphi component by nature and i did not had time to create a installable component from it (neither do i have the desire to do so).

Nothing wrong with the component to grasp the concept/implementation and extend it to your wishes, i would say.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Word/Tag Clouds with Lazarus
« Reply #2 on: July 09, 2016, 01:44:12 am »
http://www.be-precision.com/products/tagcloud/ -> shareware, not tested.

https://sourceforge.net/projects/icetagcloud/ -> GPL v2 license (the heck?!), requires porting, initial non-fully working result is attached (added required uses clause entries, fix memory leaks). It only draws black box in my 64-bit Linux box, feel free to test on other OSes. Requires https://github.com/dathox/generics.collections which is assumed to be on the same base folder as the package (feel free to edit in package options' -Fu and -Fi).

 

TinyPortal © 2005-2018