Hello
I am trying to create a Bar Chart, Data from Csv file
First I convert Csv contents into a JSON array
Then I convert JSON array into google DataTable using
var dataTableData1 = google.visualization.arrayToDataTable(ActualDataBCC);
Then I generate Bar Graph
var options = {
chart1: {
title: 'OIT-BCC-135'},
vAxis: {
viewWindow:{
min:0}
}
};
var chart1 = new google.charts.Bar(document.getElementById(
'columnchart_materialBCC'));
chart1.draw(dataTableData1, options);
<https://lh3.googleusercontent.com/-1HUX_FOKVYU/VS6fCcTTseI/AAAAAAAAASU/-FlCpyEgQrU/s1600/Screen%2BShot%2B2015-04-15%2Bat%2B1.19.50%2BPM.png>
But then too , My graph looks like this
My y-axis does not start from 0.
Please help, if there is some other way
Thanks
--
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.