It shows as negative because log(0.9) is negative (the charts are drawn 
based on the log value and then the axes are labeled based on the raw 
value, thus the baseline is labeled 1 when it is actually 0).  You can move 
the baseline below 1 by setting hAxis.baseline to some number less than 1, 
but you can't actually get it to be 0.  Experiment with setting the 
baseline to negative powers of 10 (0.1, 0.01, 0.001, etc) until you find 
one that draws your chart the way you want it.

On Wednesday, October 10, 2012 7:05:48 AM UTC-4, JJ wrote:
>
> I have a BarChart that displays float numbers (0.9, 12.3, 125.7 etc), when 
> I set it to use logScale the 0.9 value is displayed incorrectly - all bars 
> starts from 1.0 at the horizontal axis and the 0.9 is displayed backward, 
> meaning it starts from the 1.0 and goes towards the 0.0
>
> Am I doing something wrong?
> I tried to set the min and max values but it did not help.
>
> Thank you,
> JJ
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/txkCQBzvirgJ.
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