Sure!You need to use a RTComposer. Here is an example:-=-=-=-=-=-=-=-=-=-=-=-=c := RTComposer new.stack1 := RTStackBarPlot new.stack1 view: c view.stack1 add: #(1 2 3 4).stack1 add: #(4 3 2 1).stack1 add: #(5 3 2 0).stack1 build.c group: 'stack1'.c nameGroup: 'stack1' as: 'My great data set'.stack2 := RTStackBarPlot new.stack2 view: c view.stack2 add: #(2 2 3 1).stack2 add: #(4 3 2 2).stack2 add: #(6 1 2 0).stack2 build.c group: 'stack2'.c nameGroup: 'stack2' as: 'Another awesome data set'.c layout: RTVerticalLineLayout new.c view-=-=-=-=-=-=-=-=-=-=-=-=You should end up with:Title are optional. You can remove the call of nameGroup:as: if you wish.Cheers,AlexandreNB: Strange, when I reply, the name of Offray appear while Hernan sent the original mail. No idea what’s going on--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Nov 27, 2015, at 8:31 PM, Hernán Morales Durand <hernan.morales@gmail.com> wrote:_______________________________________________Dear Roassal users and developers,I'm using Roassal in Pharo 4 and want to stack visualizations, something like:
| stack1 stack2 |
stack1 := RTStackBarPlot new.
stack1 add: #(1 2 3 4).
stack1 add: #(4 3 2 1).
stack1 add: #(5 3 2 0).
stack1 build.
stack2 := RTStackBarPlot new.
stack2 add: #(2 2 3 1).
stack2 add: #(4 3 2 2).
stack2 add: #(6 1 2 0).
stack2 build.
^ (stack1 , stack2) vieworstack1 append: stack2is this currently possible?CheersHernán
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev