Lazarus

Programming => Graphics and Multimedia => Graphics => Topic started by: DeBritto on July 08, 2016, 11:08:33 pm

Title: Word/Tag Clouds with Lazarus
Post by: DeBritto 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.

Title: Re: Word/Tag Clouds with Lazarus
Post by: molly 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 (http://tmssoftware.com/site/AdvWordCloud.asp) 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 (https://sourceforge.net/projects/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.
Title: Re: Word/Tag Clouds with Lazarus
Post by: Leledumbo 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