Hi,
This is my code.
Thanks for your kindly support.
Max
function(data)
{
var datatable = new google.visualization.DataTable(data.datatable);
var mycolors = (data.colors).split(",");
var chart = new
google.visualization.BubbleChart(document.getElementById('product-performance-chart'));
chart.draw(datatable, {
title : data.title,
colors: mycolors,
hAxis: {viewWindowMode: 'pretty', title: '1-year performance',
titleTextStyle: {fontSize: 14}},
vAxis: {viewWindowMode: 'pretty', title: 'INBEST Rate',
titleTextStyle: {fontSize: 14}},
titleTextStyle: {fontSize: 14},
height: 600,
fontSize: 20,
legend:{position: 'none'},
backgroundColor: '${chartBackgroundColor}'
});
}
On Tuesday, September 11, 2012 6:41:49 PM UTC+3, asgallant wrote:
>
> "pretty" should be the default unless the viewWindow option is not null,
> and it works for everything I've seen. If you post your code or a link to
> the page I'll take a look and see what might be going on.
>
> On Tuesday, September 11, 2012 5:49:48 AM UTC-4, Max wrote:
>>
>> Hi
>>
>> I need to create a simple bubble chart, all the bubbles should be of the
>> same size and color (product requirement), be numbered 1...N and represent
>> (X, Y)
>>
>> *I see some bubbles being cut by the axes (see attached).*
>>
>> I am using
>> viewWindowMode: 'pretty'
>> for both hAxis adn vAxis
>>
>> Is there any way to prevent this behavior, better than manual calculation
>> of the min/max for each axis?
>>
>>
>> Thanks for any hint.
>> Max
>>
>
--
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/-/kvepyw4IHr8J.
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.