Baseline Moving Up

17 views
Skip to first unread message

Ashish Adhikari

unread,
Dec 3, 2017, 9:28:21 PM12/3/17
to Google Visualization API

G'day


This is my first time using google chart.

I have been able to use and customize it, however just stuck at one point

So basically when there is data available the chart behaves as it should but when there is no data available the baseline moves to the center of the chart

Is there a way to keep it at the bottom?




Daniel LaLiberte

unread,
Dec 3, 2017, 10:26:56 PM12/3/17
to Google Visualization API
Yes, just add vAxis: { viewWindow: { min: 0 } } to your options.

--
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/68534871-cff9-4761-b347-736e9aeac53a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Ashish Adhikari

unread,
Dec 3, 2017, 10:47:16 PM12/3/17
to Google Visualization API
Amazing thanks 
That worked


On Monday, December 4, 2017 at 11:26:56 AM UTC+8, Daniel LaLiberte wrote:
Yes, just add vAxis: { viewWindow: { min: 0 } } to your options.
On Sun, Dec 3, 2017 at 9:28 PM, Ashish Adhikari <taran...@gmail.com> wrote:

G'day


This is my first time using google chart.

I have been able to use and customize it, however just stuck at one point

So basically when there is data available the chart behaves as it should but when there is no data available the baseline moves to the center of the chart

Is there a way to keep it at the bottom?




--
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.



--
Reply all
Reply to author
Forward
0 new messages