I'm trying to use bubble charts to plot a series of average times, using
the standard deviation for the bubble size.
I'm finding that the bubble size is not at all to scale with anything else
in the chart. In the example below, I'd like the "Ron" bubble to be only
10% larger than the "Harry" bubble. And the "Hermione" bubble should be
only 50% bigger than the "Harry" bubble. For extra points, the size of the
bubble should scale with the vertical units.
function drawSeriesChart() {
var data = google.visualization.arrayToDataTable([
['ID', 'Sequence', 'Average Time (ms)', 'Iterations', 'Std
Dev'],
['Harry', 1, 10, '222', 1],
['Ron', 2, 12, '199', 1.1],
['Hermione', 3, 16, '206', 1.5], ]);
var options = {
title: 'Gryphindor',
legend: 'none',
hAxis: {
title: 'Data Source'
},
vAxis: {
title: 'Average Time (ms)',
viewWindowMode: 'pretty',
minValue: 8,
maxValue: 18
}
};
var chart = new
google.visualization.BubbleChart(document.getElementById('series_chart_div'));
chart.draw(data, options);
}
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.