The viewWindow option is for the range of data from min to max. There is no option to specify the number of columns to show, but if your domain values are continuous (numbers) rather than discrete (strings), you could enable the explorer mode to let the user scroll by dragging the chart area. Hope that gives you enough hints to go on.
On Sun, Jan 21, 2018 at 1:50 PM, Sean Larson <[email protected]> wrote: > I have a dynamic set of data which can end up containing several columns > to display. It seems the GC API is good at scaling the bar width to fit the > chartArea width, but at some point this disturbs the column titles and > annotations. > > Is it possible in a ColumnChart to define a desirable viewWindow width, > say 'n' columns, and the user can scroll left/right? > > -- > 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/1ca6a8bf-9196-4f42-918d- > 66c1a6019030%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/1ca6a8bf-9196-4f42-918d-66c1a6019030%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/CAOtcSJMO%3Do84aFnp05quiK3UXMVJTQetw4nNuWO%3DH-20LjZrZA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
