RTSunburstBuilder without initial node

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

RTSunburstBuilder without initial node

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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RTSunburstBuilder without initial node

akevalion
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: RTSunburstBuilder without initial node

roberto.minelli@usi.ch
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 <[hidden email]> 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 <[hidden email]>:
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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


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