Hi Hernán,
Thanks for your effort. This is very valuable.
However, I am not sure a pie diagram should be part of GraphET. A pie is radically
different from a curve. Maybe subclassing the class RTBuilder is the way to go. You will
then not be constraint by GraphET for the labeling...
Cheers,
Alexandre
On Jul 25, 2014, at 8:41 PM, Hernán Morales Durand <hernan.morales(a)gmail.com>
wrote:
Hello
I am trying GET2 pieDiagram builder. You may want to add a random color in the
#pieExample method so it looks nicer (see attachment):
| diag |
diag := GET2DiagramBuilder new.
(diag pieDiagram)
models: #(30 10 20 40);
color: [ Color random ].
^ diag open.
Now my question is simple, but I don't know how to start
How would you add labels to each sector?
Hernán
<PieChart_1.png>_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.