More help on dates and times can be found here:
https://developers.google.com/chart/interactive/docs/datesandtimes
If you can point me to your web page, I can have a look at the resulting
javascript code and data.

On Tue, Jul 14, 2015 at 9:53 PM, Shyjo Mathew <[email protected]> wrote:

> HI Daniel,
>
> thanks for your support. I just attached with a screen shot here, the
> values coming from the database, it is date, put all those values into PHP
> array and converting to Google Map Array, it have more than 1000 values, I
> want to display just the date with year, like a group/range, I cannot do
> this with array, because the key in PHP array is date which goes to
> horizontal axis. Hope the issue is clear now. find attached second one, I
> need to display like that.
>
> thanks again
> Shyjo Mathew
>
>
> On Tuesday, 14 July 2015 18:03:36 UTC+5:30, Daniel LaLiberte wrote:
>>
>> Shyjo,
>>
>> It sounds like you are using string values for your horizontal axis.  If
>> you convert them to JS Date objects, then the axis tick generator can do
>> what it is supposed to.    You may be able to provide your dates using a JS
>> expression, like *new Date(2015, 6, 14)* (for July 14th since months
>> start with 0, but don't use 06 since that will look like octal), or you may
>> need to use the string notation, which is just the same without the "new",
>> e.g. "*Date(2015, 6, 14)*".  Make sure you specify the column type as
>> "date".
>>
>> On Mon, Jul 13, 2015 at 11:20 PM, Shyjo Mathew <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I am working with Line Charts, in X Axis (horizontal axis) I have too
>>> many values, like dates, for a year, the array has around 100 dates and the
>>> label in the horizontal axis come as a black shade, how can I group values
>>> there, may be only month names need to show. This reduces the number of
>>> items and looks readable,
>>>
>>> Also shall I get any references to save the graph as an image,
>>>
>>> thanks
>>> Shyjo
>>>
>>> --
>>> 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]   5CC, Cambridge MA
>> [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.
>



-- 
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