Very sad... And thanks for the tip. I'll try it with the bars.
Cheers,
Sebastian Sastre
-----Mensaje original-----
De:
[hidden email]
[mailto:
[hidden email]] En nombre de Philippe
Marschall
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 <
[hidden email]>:
>
>
> 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
http://media.liquidx.net/js/plotkit-tests/quickstart-neg.htmlOnly if you use line charts without filling but stoking, then negative
values should look ok.
Cheers
Philippe
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside