Hi Rajaraman, You can use your own class, but it has to have the right interface to be usable as a control. You'll probably want to create a wrapper around classes like jQuery controls, in order to define the draw() method and other methods as required. It is also essential that your handle the events so it works as expected within a Dashboard.
On Wed, Oct 28, 2015 at 3:08 PM, Rajaraman Soundararajan < [email protected]> wrote: > Hi, > > There is a class google.visualization.ControlWrapper > <https://developers.google.com/chart/interactive/docs/gallery/controls#controlwrapperobject> > that > defines a container for controls in the dashboard > > var donutRangeSlider = new google.visualization.ControlWrapper({ > 'controlType': 'NumberRangeFilter', > 'containerId': 'filter_div', > 'options': { > 'filterColumnLabel': 'Donuts eaten' > } > > }); > > The controlType seems to be limited CategoryFilter, NumberRangeFilter. > What if I want to replace the filters with a custom jQuery control, > instead of sliders, dropdown, textbox. > > https://developers.google.com/chart/interactive/docs/gallery/controls > > Thanks > Rajaraman S > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-visualization-api/2792d682-a1f9-4f08-b5f1-6c734060729c%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/2792d682-a1f9-4f08-b5f1-6c734060729c%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> - 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. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJOeJ%3DXg4g2fJYc2j-FBEycXdci2vcdGOtJL%3DekJSM%3DvDg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
