| builder |
builder := GET2Line data: (0 to: 100).
builder
y: [ :x | x*x ];
dotSize: 10.
builder open
I got the first screenshot.
With another example, i note that, the X-Axis take the right value, but the label is not correct.
| bg|
data class== KETimeSeries ifTrue:[
bg := GET2Line new view: each; data: (data index).
bg x: [:e | (data index) at: e];
y: [ :x | data at: x];
title:'Graph of compartment ' ,(donne keyAtValue: data);
lineWidth: 2;
height: 200;
width: 500.
bg interaction popupText.
bg build.
The second screenshot show that, when i point the value "24.35" on the x-axis, i get "50" because i use "interaction popupText".
The third screenshot show what i got with another builder.
Remark: i have integrated GET2Line in a browser with Glamour.
Thanks
--
ATREVI D. Fabrice
Master en Informatique A l'Institut de la Francophonie pour l'Informatique (IFI/Hanoï)