Hi Lautaro,
This is likely a bug that was introduced when they fixed the
regularAxis to not show too many values - it apparently now can show
too few. If this isn't fixed shortly by someone else on the list,
I'll get to it in the next day.
As an alternative, try using #valueAxis; it will show reasonable
values for the axis. I find that option very interesting most of the
time:
chart := ESDiagramRenderer new.
chart verticalBarDiagram
y: [:eachAssociation | eachAssociation value];
identifier: [:eachAssociation | eachAssociation key];
valueAxis;
models: d .
chart open
-Chris
On Wed, Aug 1, 2012 at 11:52 AM, Lautaro Maximiliano pecile
<lautaro.pecile(a)gmail.com> wrote:
Hi! I am a newbie in Smalltalk and specially en
Eyesee.
I'm having trouble with the scale of the Y axis in a vertical bar diagram.
If I define a dictionary as
d := {'a'->(1/3) . 'b'->(3/2) . 'c'->(7/4)}.
I can create a nice diagram with this
chart := ESDiagramRenderer new.
chart verticalBarDiagram
y: [:eachAssociation | eachAssociation value];
identifier: [:eachAssociation | eachAssociation key];
regularAxis;
models: d .
chart open
whose Y axis is very well populated with labels indicating different steps
in the scale.
But if I redefine d as
d := {'a'->(1/3) . 'b'->(7/5) . 'c'->(17/4)}.
(which is closer to the data I am working on) most of the labels in the Y
axis are gone.
How can I instruct Eyesee to show a more informative scale?
Thanks in advance for your help.
Cheers
Lautaro Pecile.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev