Awesome! Thanks a lot !
Cheers!

El mié., 6 de may. de 2015 a la(s) 12:08 p. m., Alexandre Bergel <alexandre.bergel@me.com> escribió:
Hi Demian,

I have produced the class RTDynamicStackedGrapher. It should do what you expect.


        b := RTDynamicStackedGrapher new.
        b numberOfBars: 10.
        b minY: -200; maxY: 200.

        b y: #yourself.

        b barShape color: (Color red alpha: 0.3).
        b view addMenu: '+ 1' callback: [ b add: 400 atRandom - 200 ].
        b

Here is a short video:
https://dl.dropboxusercontent.com/u/31543901/TMP/RTDynamicStackedGrapher.mov

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



> On May 4, 2015, at 7:34 PM, Demian Schkolnik <demianschkolnik@gmail.com> wrote:
>
> Hi all!
> I want to build a dynamic graph on a composer.. Is that possible?
> It throws up an error on 'b add:ds', ie. when I want to add the dataset. It throws a 'MessageNotUnderstood' error. Can't I pass the Dynamic Grapher a RTStackedDataSet?
>
> Thanks!
>
> buildDynamicGraph:anObjectArray onComposer:aComposer
>       | b ds |
>
>       b := RTDynamicGrapher new.
>       b view: aComposer view.
>       ds := RTStackedDataSet new.
>       ds points: anObjectArray.
>       ds y: #second.
>       ds barShape width: 30.
>       ds histogramWithBarTitle: #first rotation: 0.
>
>       b add: ds.
>
>       b axisX noLabel; noTick.
>       b build.
>       ^ b
> _______________________________________________
> 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