You didn't provide your data or options for us to look at, but since you
indicate that the lines extend one month too far, I suspect you are using
date values with months being one too high.  That is, when you create Date
values with new Date(yyyy, M, dd), the M values start at 0, not 1.   This
is not just a Google Charts feature or a JavaScript feature, but most
programming languages adopted this convention.  Hope that helps.


On Wed, Jun 4, 2014 at 11:02 AM, TheInnovator <[email protected]> wrote:

> Why does my line chart continue when there is not value for a point?  As
> you can see below, the two lines end at June and July but it should
> actually stop at June for the blue line and May for the purple line.
>
>
> <https://lh4.googleusercontent.com/-z0jqd6DQI8s/U48xH32x9VI/AAAAAAAAAl0/f3W-UnmprT0/s1600/LineChart.PNG>
>
> It's supposed to be somewhat like this
>
>
> <https://lh4.googleusercontent.com/-KhKtX3vpCFI/U4809YW39VI/AAAAAAAAAmE/rezaxtdBjPc/s1600/LineChart.PNG>
>
>
>
>  --
> 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
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton 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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to