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] <javascript:>> 
> 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] <javascript:>   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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to