Sorry, its an Intranetside of our company, but check this
Google-Developer-Link .
Without minValue:0 it looks like that (paste this code):
Code: |
function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
['vertical', 'horizontal1', 'horizontal2'],
['', 140, 150]
]);
// Create and draw the visualization.
new google.visualization.BarChart(document.getElementById('visualization')).
draw(data,
{title:"Yearly Coffee Consumption by Country",
width:600, height:400,
vAxis: {title: "vertical"},
hAxis: {title: "horizontal"}}
);
}
|
and with minValue:0 it looks like that: (paste Code):
Code: |
function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
['vertical', 'horizontal1', 'horizontal2'],
['', 140, 150]
]);
// Create and draw the visualization.
new google.visualization.BarChart(document.getElementById('visualization')).
draw(data,
{title:"Yearly Coffee Consumption by Country",
width:600, height:400,
vAxis: {title: "vertical"},
hAxis: {title: "horizontal",minValue:0}}
);
}
|
There you can see the Difference of the Baseline, without minValue:0 it starts at 138 an with it starts at 0.