Hi Milton,

Thanks for the answer, but is not what I expect.

What I want is something like this


But now, of course, the “outer pie” is wrong because do not respect slices of the inner pie :(

Is there any way to achieve that with the RTSunburstBuilder?

Cheers,
R


On Nov 12, 2014, at 4:30 PM, milton mamani <akevalion@gmail.com> wrote:

Hi Roberto

Try this:

| b |
b := RTSunburstBuilder new.
b shape current 
colorElement: [ :el | 
(el attributeAt: #sbDepth) = 0 ifTrue: [ Color transparent ]
ifFalse: [ Color grayScale256: ((el attributeAt: #sbDepth ifAbsent: [ 0 ]) * 30) ] ].

b explore: RTObject using: #subclasses.
b view @ RTDraggableView.
b open

2014-11-12 6:25 GMT-03:00 Roberto Minelli <roberto.minelli@usi.ch>:
Hi,

Is there a way to set the radius of the first node to 0 so that, visually, the first node will be a pie?

Cheers,
R
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev