[Seaside] SeaChart and ploting negatives

Sebastian Sastre ssastre at seaswork.com
Mon Feb 5 22:00:26 UTC 2007

Very sad... And thanks for the tip. I'll try it with the bars. 


Sebastian Sastre

-----Mensaje original-----
De: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] En nombre de Philippe
Enviado el: Domingo, 04 de Febrero de 2007 09:00
Para: The Squeak Enterprise Aubergines Server - general discussion.
Asunto: Re: [Seaside] SeaChart and ploting negatives

2007/2/4, Sebastian Sastre <ssastre at seaswork.com>:
> Hi there,
>     I wish to be able to plot a cashflow and I've see in the PlotKit 
> page that the bars or lines has allways a plot in the positive range.

Because plotting negative values it quite broken ;)

> Anybody has
> a clue on how to represent negative values?

The trick is:
aChart layoutOptions yOriginIsZero: false

But even then, it will not look like what I and probably you will expect it
to look like. An example for line charts

Only if you use line charts without filling but stoking, then negative
values should look ok.

Seaside mailing list
Seaside at lists.squeakfoundation.org

More information about the Seaside mailing list