Hello,
I have a data set with Y values [0, 100] and I want to plot it
logarithmically.
Google Charts is placing the X intercept at Y=1 and any values [0,1] are
drawn below the intercept, with the columns coming below the axis. It looks
really weird and is confusing my target audience.
I'd like the hAxis line to be aligned (as close as possible) to Y = 0. How
can I setup the behaviour I want?
Try this in the playground to see what I mean:
function drawVisualization() {
var data = google.visualization.arrayToDataTable([
['Year', 'Austria'],
['2003', 100],
['2004', 100],
['2005', 50],
['2006', 0.001],
['2007', 0.5],
['2008', 1]
]);
new google.visualization.ColumnChart(document.getElementById(
'visualization')).
draw(data,
{title:"Yearly Coffee Consumption by Country",
width:600, height:400,
hAxis: {title: "Year"},
vAxis: {logScale: true}}
);
}
--
You received this message because you are subscribed to the Google Groups
"Google Chart 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-chart-api.
For more options, visit https://groups.google.com/groups/opt_out.