That page on customizing axes would be a good place to include
documentation on the viewWindow options, and more.  Currently, the
viewWindow options only appear in the list of options for each type of
chart where they apply.

On Mon, Jul 25, 2016 at 11:49 AM, jc <[email protected]> wrote:

>
> Thank you Daniel :)   It's fine now.
>
> However, I don't find these options in the documentation. Should be there
> : https://developers.google.com/chart/interactive/docs/customizing_axes ?
> <https://developers.google.com/chart/interactive/docs/customizing_axes>
>
>
> Le lundi 25 juillet 2016 15:31:22 UTC+2, Daniel LaLiberte a écrit :
>>
>> You should use viewWindow min and max to limit the range of the axis.
>>
>>  vAxis: {
>>             viewWindow: { min: 0, max: 150}
>>           }
>>
>> The minValue and maxValue options actually only ensure those values are
>> included, and don't restrict the axis.
>>
>> The reason the chart is expanding to -50 by default is that the rounded
>> curve dips below 0.  It probably should either not dip below 0, or allow a
>> small dip without expanding the axis.
>>
>>
>> On Sun, Jul 24, 2016 at 4:13 AM, jc <[email protected]> wrote:
>>
>>> Hi,
>>> What is the best way to indicate min and max value  for vertical axis
>>> in  a line chart ?
>>>
>>> In the attached doc, gChart generate vaxis from -50 to 150    does'nt
>>> make sense.
>>> thanks
>>>
>>> --
>>>
>>>
>>
>>
>> --
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>> [email protected]   5CC, Cambridge MA
>>
> --
> 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
> 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/1748c0a4-e51e-4fc8-9306-9ee3a8cf3e82%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/1748c0a4-e51e-4fc8-9306-9ee3a8cf3e82%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, Cambridge MA

-- 
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 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/CAOtcSJNj%2B3%3DKb-TQ4r0HZAs9C_dsjD_TSfKh08SNMyqKnTQhaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to