Project

General

Profile

Bug #2746

WTagCloud

Added by Anonymous almost 9 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/01/2014
Due date:
% Done:

0%

Estimated time:

Description

Hello,

I am trying to build a new Class WTagCloud like the one written in Java : http://www.wordle.net/

Any guidance on how to do it using WLabel or WText elements ? is someone else interested in ?

BR

#1

Updated by Wim Dumon over 8 years ago

That's probably difficult without some client-side JavaScript. Problem is that we don't know the properties of the font installed at the client if we need to calculate positions at the server.

You'll probably get better results when drawing on a WPaintedWidget server-side (raster image), which does provide font metrics.

BR,

Wim.

#2

Updated by Momo LALMI over 8 years ago

Hi,

There is an open source and free for commercial use, simple but efficient JQuery component for Tag Clouds, the project is called "jQCloud" https://github.com/lucaong/jQCloud

to use it, take a look on : https://github.com/lucaong/jQCloud/blob/master/examples/index.html

for a demo : http://www.lucaongaro.eu/demos/jqcloud/

What is the easiest way to embed it into a WT Class ?

BR

#3

Updated by Wim Dumon over 8 years ago

Hi,

I didn't look in detail, but it should be similar to what I wrote in http://redmine.emweb.be/boards/2/topics/8693

BR,

Wim.

Also available in: Atom PDF