Wordlimit and label color for RTNameCloud

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Wordlimit and label color for RTNameCloud

Agustin Meriles
Hi everyone,

I need to set change the label default color and also limit the maximum words to display (say, I want to display only the top 10 words).
Is there a way to do it without subclassing the builder?

Thanks in advance!

--
Ing. Agustín Meriles
Jefe Departamento de Desarrollo
Pinard Software e Innovación S.R.L.


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Wordlimit and label color for RTNameCloud

abergel
Hi Agustin,

Sorry for the late reply.
We have implemented #maxWords:

Here is an example:
b := RTNameCloud new.
b maxWords: 10.
b addStrings: (RTNameCloud rtmethods collect: #getSource).
b

Hope it helps!

Cheers,
Alexandre


On Jun 11, 2016, at 7:52 PM, Agustin Meriles <[hidden email]> wrote:

Hi everyone,

I need to set change the label default color and also limit the maximum words to display (say, I want to display only the top 10 words).
Is there a way to do it without subclassing the builder?

Thanks in advance!

-- 
Ing. Agustín Meriles
Jefe Departamento de Desarrollo
Pinard Software e Innovación S.R.L.
www.pinard.com.ar

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Wordlimit and label color for RTNameCloud

Agustin Meriles

Cool! Thanks

El jun 14, 2016 7:02 PM, "Alexandre Bergel" <[hidden email]> escribió:
Hi Agustin,

Sorry for the late reply.
We have implemented #maxWords:

Here is an example:
b := RTNameCloud new.
b maxWords: 10.
b addStrings: (RTNameCloud rtmethods collect: #getSource).
b

Hope it helps!

Cheers,
Alexandre


On Jun 11, 2016, at 7:52 PM, Agustin Meriles <[hidden email]> wrote:

Hi everyone,

I need to set change the label default color and also limit the maximum words to display (say, I want to display only the top 10 words).
Is there a way to do it without subclassing the builder?

Thanks in advance!

-- 
Ing. Agustín Meriles
Jefe Departamento de Desarrollo
Pinard Software e Innovación S.R.L.
www.pinard.com.ar

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev