Problem with negative value and data scaling

A discussion forum for the Eastwood Chart Servlet.
Locked
cblin
Posts: 12
Joined: Sun Jun 08, 2008 6:35 pm

Problem with negative value and data scaling

Post by cblin » Fri Nov 14, 2008 4:03 pm

Compare the results of :
http://chart.apis.google.com/chart?cht= ... xr=0,-5,10

to
http://localhost:8080/chart?cht=bvg&chs ... xr=0,-5,10

I think that there is a problem in the data scaling algorithm because you substract min to the value (and so if min is negative, that would be a problem).
Correcting the data scaling does not seem to work (after, there are problem on axis range).

I'll be glad to provide more info if needed

Locked