The 'upcoming' version will be changed to 'current' once it is pushed out (when it is ready, maybe in a couple more weeks), so you might as well test it now.
On Thu, Feb 15, 2018 at 3:40 PM, prasyell7 <[email protected]> wrote: > Thanks for the reply. Yes I tried dateFormat and other options as per the > API Documentation. However all options are ignored and when I remove *"format: > 'MMM,yy', " *it displays just years, like 2010, 2020, 2050 etc. > > Also I am afraid to update the version as this is a bug and this > application is already in Production. > > On Thursday, February 15, 2018 at 3:36:31 PM UTC-5, Daniel LaLiberte wrote: >> >> I would recommend you try the 'upcoming' version. There are many changes >> that might fix your problem. In particular, you have an hAxis.format >> option that will probably be ignored in this context for the current >> version. >> >> On Thu, Feb 15, 2018 at 3:30 PM, prasyell7 <[email protected]> wrote: >> >>> I am using the following chart options. >>> >>> chartArea: { height: '80%', width: '90%' }, >>> hAxis: { slantedText: false, format: 'MMM,yy', >>> gridlines: { >>> count: -1, >>> units: { >>> months: {format: ['MMM,yy']} >>> } >>> }, >>> minorGridlines: { >>> color: 'none', >>> } >>> }, >>> >>> H-Axis renders and displays correctly when there are multiple intervals, >>> like months, years etc. But when there is only one unit (e.g one month), it >>> displays times tamp on the h-axis. Both the pictures are attached. >>> >>> I tried changing the format many ways, but still no luck, all the >>> options are ignored by Google API. >>> >>> Any idea? >>> >>> -- >>> 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/grou >>> p/google-visualization-api. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/google-visualization-api/d416c713-c3b1-4835-a73c-537350 >>> fd386d%40googlegroups.com >>> <https://groups.google.com/d/msgid/google-visualization-api/d416c713-c3b1-4835-a73c-537350fd386d%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] 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 google-visualization-api@ > googlegroups.com. > 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/3cbe673f-9727-4716-a392- > 2ad1e781d252%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/3cbe673f-9727-4716-a392-2ad1e781d252%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/CAOtcSJND1V%3D6K2FuB%2Bxxqwb7HuREaHyGCmoHiyvb0E2S%2BDuyEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
