I noticed the same thing (well at least the sales department did
) This behaviour seems to be caused by the get_max function in include/charts/Charts.php, apparently this has changed. I created a function to replace it in the current one as a quick fix, but an easier solution might be to replace it with the one from 4.0:
PHP Code:
function get_max($numbers) {
$num_len = strlen(floor(max($numbers)))-1;
$whole=pow(10,$num_len);
$dec=1/$whole;
$max = ceil(max($numbers)*$dec)*$whole;
return $max;
}
I have not tested this so backup the file first.
Bookmarks