The x and y axis scales should be independent of one another.  The problem 
is that you are setting hAxis.maxValue to 300000, which is what causes all 
of your circles to draw at the origin.  Remove the maxValue from hAxis and 
you should be fine.

On Monday, December 10, 2012 1:55:42 PM UTC-5, Theo Zizic wrote:
>
> Hi all,
>
> I urgently need help with a bubble chart. My problem is that I need to 
> display very small numbers on the x axis (eg 0.2345, 0.2678) while at the 
> same time on the y axis very large numbers in millions.
>
> So i ve thought of multiplying the small numbers by the same lets say 
> 10000 factor. However multiplication does not work. The bubbles are still 
> centered around 0
>
>
>            myarray.setValue(i, 2, 
> Math.round(parseFloat(item.TotalCrimes.value)*10000));
>                      
>                          
>                     var options = {
>                     colorAxis: {colors: ['blue', 'red']},
>                     sizeAxis: {minValue: 0,  maxSize: 50},
>                     hAxis: {title: 'a title', maxValue: '300000', 
> titleTextStyle: {color:'red', fontSize: 22}, textStyle: {fontSize: 17}, 
> logScale: 'false',gridlines:{count: 7}},
>                     vAxis: {title: another title', titleTextStyle: {color: 
> 'red', fontSize: 24}, logScale: 'false',gridlines:{count: 3}},
>                     chartArea:{left:160,top:80},   
>
> Please if anyone has an idea help 
>
>

-- 
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/-/j8rvLNt0ltsJ.
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