That helped. Thanks On Mon, Jun 21, 2010 at 9:58 PM, Viz Kid <viz...@google.com> wrote:
> > Hi. > > You need to specify some maxValue for the vAxis and this way the vertical > axis would be in the range 0 up to about the max value you asked for. > Look at the vAxis options in the area chart documentation: > http://code.google.com/apis/visualization/documentation/gallery/areachart.html#Configuration_Options > > Best, > Viz Kid > > > On Mon, Jun 21, 2010 at 2:19 PM, aneez_backer <aneezbac...@gmail.com>wrote: > >> I want to draw an area chart, with all y-axis values as 0. >> >> example: >> >> data.addColumn('string', 'Year'); >> data.addColumn('number', 'Sales'); >> data.addRows([ >> ['2004', 0], >> ['2005', 0], >> ['2006', 0], >> ['2007', 0] >> ]); >> >> When the graph is drawn, the minimum value appears as '-1' , I want >> the Y-axis minimum value to be 0. How can one do this ?? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Visualization API" group. >> To post to this group, send email to >> google-visualization-...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-visualization-api+unsubscr...@googlegroups.com<google-visualization-api%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-visualization-api?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To post to this group, send email to > google-visualization-...@googlegroups.com. > To unsubscribe from this group, send email to > google-visualization-api+unsubscr...@googlegroups.com<google-visualization-api%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to google-visualization-...@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.