Label in RTDynamicStackedGrapher

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

Label in RTDynamicStackedGrapher

Miguel Campusano
Hi,
I'm working with RTDynamicStackedGrapher to generate dynamic stacked graph and I want to add a name on the X axis below every bar.
I see something like this working on RTStackedDataSet with the message barChartWithBarCenteredTitle: .
There is something working for RTDynamicStackedGrapher?

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Label in RTDynamicStackedGrapher

abergel
Hi Miguel!

I have just added it. Check this:


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

b y: #yourself.
 
b barShape color: (Color red alpha: 0.3).
b textBelow: #yourself. “<<<<===="

b view addMenu: '+ 1' callback: [ b add: 400 atRandom - 200 ].
b
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Cheers,
Alexandre

On May 18, 2015, at 6:48 PM, Miguel Campusano <[hidden email]> wrote:

Hi,
I'm working with RTDynamicStackedGrapher to generate dynamic stacked graph and I want to add a name on the X axis below every bar.
I see something like this working on RTStackedDataSet with the message barChartWithBarCenteredTitle: . 
There is something working for RTDynamicStackedGrapher?
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Label in RTDynamicStackedGrapher

jfabry

Excellent, thanks Alex!

On May 19, 2015, at 09:05, Alexandre Bergel <[hidden email]> wrote:

Hi Miguel!

I have just added it. Check this:


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

b y: #yourself.
 
b barShape color: (Color red alpha: 0.3).
b textBelow: #yourself. “<<<<===="

b view addMenu: '+ 1' callback: [ b add: 400 atRandom - 200 ].
b
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

<Screen Shot 2015-05-19 at 8.05.22 AM.png>

Cheers,
Alexandre

---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Label in RTDynamicStackedGrapher

Miguel Campusano
In reply to this post by abergel
Thanks!
Nice detail to put the label below the bar when the value is positive and above the bar when the value is negative ;)

On Tue, May 19, 2015 at 8:05 AM Alexandre Bergel <[hidden email]> wrote:
Hi Miguel!

I have just added it. Check this:


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

b y: #yourself.
 
b barShape color: (Color red alpha: 0.3).
b textBelow: #yourself. “<<<<===="

b view addMenu: '+ 1' callback: [ b add: 400 atRandom - 200 ].
b
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Cheers,
Alexandre

On May 18, 2015, at 6:48 PM, Miguel Campusano <[hidden email]> wrote:

Hi,
I'm working with RTDynamicStackedGrapher to generate dynamic stacked graph and I want to add a name on the X axis below every bar.
I see something like this working on RTStackedDataSet with the message barChartWithBarCenteredTitle: . 
There is something working for RTDynamicStackedGrapher?
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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



_______________________________________________
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

Screen Shot 2015-05-19 at 8.05.22 AM.png (21K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Label in RTDynamicStackedGrapher

Demian Schkolnik
I will use this as well :) . Thanks Alex!

El mar., 19 de may. de 2015 a la(s) 12:04 p. m., Miguel Campusano <[hidden email]> escribió:
Thanks!
Nice detail to put the label below the bar when the value is positive and above the bar when the value is negative ;)


On Tue, May 19, 2015 at 8:05 AM Alexandre Bergel <[hidden email]> wrote:
Hi Miguel!

I have just added it. Check this:


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

b y: #yourself.
 
b barShape color: (Color red alpha: 0.3).
b textBelow: #yourself. “<<<<===="

b view addMenu: '+ 1' callback: [ b add: 400 atRandom - 200 ].
b
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Cheers,
Alexandre

On May 18, 2015, at 6:48 PM, Miguel Campusano <[hidden email]> wrote:

Hi,
I'm working with RTDynamicStackedGrapher to generate dynamic stacked graph and I want to add a name on the X axis below every bar.
I see something like this working on RTStackedDataSet with the message barChartWithBarCenteredTitle: . 
There is something working for RTDynamicStackedGrapher?
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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



_______________________________________________
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