How to increase the scale of the graph "Area Chart"

19 views
Skip to first unread message

Максим С

unread,
Nov 16, 2017, 6:25:15 AM11/16/17
to Google Visualization API
I Need Help. 
Tell me how to increase the scale of the graph "Area Chart", so that the vertical line does not start from 0 value, but for example 10 or 50. ?? Thanks.

Daniel LaLiberte

unread,
Nov 16, 2017, 10:11:38 AM11/16/17
to Google Visualization API
Hi Максим

You can specify a vAxis.viewWindow.min option to override the default behavior.  The 0 value will be included in the chart if it is "close enough" to your data.  For the Area chart, as well as column chart and stepped area chart, it tends to be misleading (or at least confusing) if the baseline value of 0 is not included in the chart.


On Thu, Nov 16, 2017 at 6:25 AM, Максим С <lette...@gmail.com> wrote:
I Need Help. 
Tell me how to increase the scale of the graph "Area Chart", so that the vertical line does not start from 0 value, but for example 10 or 50. ?? 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 google-visualization-api+unsubscr...@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/9aa43d36-baed-46e1-93c3-bd6c5803d4c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Максим С

unread,
Nov 16, 2017, 10:48:44 AM11/16/17
to Google Visualization API
Thank you for the help. My problem was that I did get the format "viewWindow.min" . The right format is viewWindow: { min: value }. It works ! 

четверг, 16 ноября 2017 г., 17:11:38 UTC+2 пользователь Daniel LaLiberte написал:
Hi Максим

You can specify a vAxis.viewWindow.min option to override the default behavior.  The 0 value will be included in the chart if it is "close enough" to your data.  For the Area chart, as well as column chart and stepped area chart, it tends to be misleading (or at least confusing) if the baseline value of 0 is not included in the chart.

On Thu, Nov 16, 2017 at 6:25 AM, Максим С <lette...@gmail.com> wrote:
I Need Help. 
Tell me how to increase the scale of the graph "Area Chart", so that the vertical line does not start from 0 value, but for example 10 or 50. ?? 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 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