Hi Nelson,
The PieBuilder is not well documented.
Try the following:
-=-=-=-=-=-=-=-=-=-=-=-=
b := RTPieBuilder new.
b interaction popup.
b objects: #(10 4 1 2 5).
b slice: [ :aNumber | aNumber ].
b globalRule distinctColor.
b labelled.
b build.
-=-=-=-=-=-=-=-=-=-=-=-=
You should not use #label:, this is a private method.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Dec 2, 2014, at 1:15 AM, Nelson Garcia
<nelsongarcia.info(a)gmail.com> wrote:
I' trying to customize label in RTPieBuilder this is my sample.
b := RTPieBuilder new.
b interaction popup.
b view: v.
b objects: listByRegion associations.
b slice: [ :e | e value size ].
b globalRule distinctColor.
"b labelled."
b label: (RTLabel new text: 'label test').
b build.
I commented "b labelled", but when I try to set label with RTLabel I get it
error in trachelShape, there is a way to set a custom label?
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev