This is still undocumented, but you can specify strictFirstColumnType: truein the options (this will be the default in just a couple of months), and then have an AreaChart with numbers in first column. After you do that, you can use hAxis.viewWindow in a similar way to vAxis.viewWindow.
Hope this helps. On Tue, Nov 1, 2011 at 2:22 AM, Matt <[email protected]> wrote: > The one big hangup is that my AreaChart demands the first column > (xaxis) be a string, while the control filter expects to see numeric > values because I am using the number filter: > 'controlType': 'NumberRangeFilter', > > > On Oct 31, 4:33 pm, Matt <[email protected]> wrote: > > Roni and asgallant, thank you for the comments. I like the slider > > idea, I am going to give that a try and followup. Should work well for > > the user as he/she should be able to clip data at both ends with just > > two slides. > > > > On Oct 30, 1:41 am, Roni Biran <[email protected]> wrote: > > > > > > > > > > > > > > > > > in regard to xAxis, there is no min/max value. however, you can use the > > > NumberRangeFilter. > > > here is a small sample that you can play with: > http://code.google.com/apis/ajax/playground/?type=visualization#numbe... > > > > > On Sat, Oct 29, 2011 at 12:05 AM, Matt <[email protected]> wrote: > > > > I'm plotting bucketed data that looks like a bell curve. Works just > > > > fine; who doesn't love bell curves? With bell curve data, outlier > > > > data on either side can make the graph look less 'pretty'. I;ve been > > > > pouring over the Configuration Options here: > > > > > http://code.google.com/apis/chart/interactive/docs/gallery/areachart.... > > > > > > My question: Is there a way to adjust the range of the x axis ..... > > > > say, give a max and min? I know I could just send fewer rows to the > > > > graph, but that will be a pain with the data I have. > > > > > > -- > > > > You received this message because you are subscribed to the Google > Groups > > > > "Google Visualization API" group. > > > > To post to this group, send email to > > > > [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]. > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-visualization-api?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
