Dan, There seems to be a simultaneous preponderance of several people interested in legend paging and control of legend items, both here and internal to Google. There is currently a lack of support for this set of features, but given the interest, I expect we will provide a solution soon.
I am particularly impressed by your hack, and the extent you are willing to go to get the desired effect. On Wed, Dec 31, 2014 at 9:57 PM, Dan Rossiter <[email protected]> wrote: > I've been working on some logic to hide/display columns in a LineChart > (logic similar to this http://jsfiddle.net/asgallant/6gz2Q/). Part of > this process obviously involves redrawing the chart, which in turn results > in the legend pagination being reset. > > My question is, can this be prevented (I wondered about something like a > legend.pg in the options, but nothing similar seems to exist -- or is > very well hidden). > > My workaround which was getting very unwieldy and impractical was a hack > that found the current page prior to the redraw (regex matching on the > <current pg>/<total pgs> display then programmatically triggering the right > arrow the correct number of times to get me where I want to be following > the redraw). > > Any suggestions would be appreciated! > > -- > 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.
