Thanks. Yes, it is as I said, except only one data point is left, which results in the same problem of not knowing how far to extend the hAxis around that one point. If you add 'yyyy' to your format, you'll see the large range of years.
One relatively easy solution is that you can now use the AnnotationChart for this, and turn off the display of annotations. The AnnotationChart uses a ChartRangeFilter internally, and gets the range from the range selector and applies that to the viewWindow of the chart. That's effectively what you would need to do yourself without the AnnotationChart because otherwise the chart doesn't know what the intended range should be when you only provide it 1 point. On Sat, Aug 15, 2015 at 1:37 PM, Noobie All <[email protected]> wrote: > Dear Daniel > > Here is a sample link. Please take a look. > http://codepen.io/noobiemania/pen/bdybgj > > > > > > > On Thursday, August 13, 2015 at 8:07:07 PM UTC+8, Daniel LaLiberte wrote: >> >> I suspect the problem is that the filter results in no data being sent >> out, and then the date axis shows the default range over several years, but >> you are not displaying the year in your format. Could you provide a >> working example that demonstrates the problem you are seeing? >> >> On Wed, Aug 12, 2015 at 10:37 PM, Noobie All <[email protected]> wrote: >> >>> Any advice for the question posted below? >>> >>> http://stackoverflow.com/questions/31960009/google-charts-fixing-date-shown-on-haxis-when-using-chartrangefilter-control >>> >>> -- >>> 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.
