Not only Google Charts, but JavaScript itself and most programming
languages use 0-based months for the internal representation, while
nevertheless displaying and parsing 1-based strings for month numbers.
It's very confusing, I know.

On Sun, Jul 21, 2024 at 1:03 PM Ben Swaby <[email protected]> wrote:

> Figured it out.  Google Charts is using basic 0 start logic vs calendar
> logic on the months, which seems really dumb.
>
> On Sunday, July 21, 2024 at 10:44:49 AM UTC-5 Ben Swaby wrote:
>
>> I'm not sure why I missed this, but it's off for an entire month.   For
>> example, the data for April is showing up in March.
>>
>> On Sunday, July 21, 2024 at 10:31:05 AM UTC-5 Ben Swaby wrote:
>>
>>> Using the Calendar Chart, I noticed that there is no data on specific
>>> dates even though the data is there.   The one correlation is that there is
>>> a carriage return showing in the UI, but looking at the HTML there is no
>>> carriage return.
>>>
>>> If you look at the HTML, you will see data on the 3rd and 9th, but the
>>> UI clearly shows no data.
>>>
>>> I am stumped on this one.
>>>
>>> [image: Screenshot 2024-07-21 at 10.03.55 AM.png]
>>>
>>> [image: Screenshot 2024-07-21 at 10.06.39 AM.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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/53d9611e-ec71-4b87-b802-eaf796306c11n%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/53d9611e-ec71-4b87-b802-eaf796306c11n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJNyoUHF5ZFm1%2B4c-UoX3w51pvGsaYkG_OrKt8nMAjCPEQ%40mail.gmail.com.

Reply via email to