You can use #height: and #width: to a builder to set a particular size. Try this:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| builder normalizer data |
data := (1 to: 100) collect: [ :i | Array with: i with: 20 atRandom + 30 ].

normalizer := RTNColorLinearNormalizer 
inContext: data withCommand: #second lowColor: Color paleRed highColor: Color blue.

builder := GET2Line data: data.
builder
x: #first;
y: #second;
lineWidth: 2;
dotColor: [ :v |  (normalizer rtValue: v) alpha: 0.5];
dotSize: 15;
height: 100;
width: 150.


builder build.
builder view
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Without specifying height: and width: gives you something like:

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



On May 19, 2014, at 4:42 AM, Fabrice Atrevi <atrevifabrice@gmail.com> wrote:

hi,
i build a graph in glamour. But, when i run my browser, the graph not be at the center of the panel (like in the screen shot) and there are not the scroll bar for view properly. Also, i want to label the axis, how can i do it?

thanks!
-- 
ATREVI D. Fabrice
Master en Informatique A l'Institut de la Francophonie pour l'Informatique (IFI/Hanoļ)
<pb_barre_deroulant.PNG>_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev