Hi, You are using the Material bar chart. It has a different set of options from the Classic bar chart. We do, however, provide a converter so you can use the Classic style options. You simply have to call google.charts.Bar.convertOptions, like so: chart1.draw(dataTableData1, google.charts.Bar.convertOptions(options));
On Wed, Apr 15, 2015 at 1:26 PM Pinank Dagli <[email protected]> wrote: > 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. > -- 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.
