one bug (if not strange "feature") with 1.1

linechart - when i set vAxis maxValue to 100, it uses 120 instead. On
version 1.0 it works as expected. Actually it starts to show 120 when
i have maxValue over 90.

The same with e.g. maxValue 60 - it shows 80 (but 59 shows 60).

See http://mediacentrum.cz/bug.htm and compare it with
http://mediacentrum.cz/not-bug.htm (the only difference is that
version 1.1 versus 1)

I guess that you are trying to round it on "nice" numbers (5 / 10)
sooner (so e.g. with 30 it is 0, 8, 15, 23, 30 with v.1, but 0, 10,
20, 30, 40 with version 1.1), but IMHO you should accept rounding to 5
for higher numbers - e.g. that 100 is very common max value for vAxis
for showing percentages).

And of course the best would be to use always the maxValue when it is
set and do not try to increase it - when i do not want default
maxValue calculated from data, i probably know why i do not want that
default value. And if i would need some inteligence over it, i could
very easily calculate from my data and put it to maxValue. The same
for minValue.

P.S.: when you will repair it, you can put there that grid granularity
variable ;-) (i guess that there would be somewhere in the code number
5 for splitting in 5 section, so replacing it with variable with
default=5 would not take long ;-)

Tomas

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to