Project

General

Profile

Actions

Bug #2746

open

WTagCloud

Added by Anonymous about 10 years ago. Updated about 10 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

Actions #1

Updated by Wim Dumon about 10 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.

Actions #2

Updated by Momo LALMI about 10 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

Actions #3

Updated by Wim Dumon about 10 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.

Actions

Also available in: Atom PDF