Re: [visualization-api] Building Dashboards using Google Charts

2015-10-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Nick, Thanks for chiming in! The example in the jsfiddle is supposed to just show how to do a custom control, not give you a production-ready control to use in your application. It simply filters out any invalid rows (past the max), and you can certainly change it to have whatever behavior you

Re: [visualization-api] Building Dashboards using Google Charts

2015-10-29 Thread dunbar . nick
This is nice but it has a small bug in that it doesn't max out when you add more entries than the rows in the table. I know how busy you must be but it would be great to see some enhancements in terms of the menu of control options and styles. If you look at what is commonly done in D3 and oth

Re: [visualization-api] Building Dashboards using Google Charts

2015-10-28 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Rajaraman, You can certainly create a custom control, but it's not trivial, and we don't have any documentation for doing it. To help, I created a jsfiddle that shows a simple custom control . This control is a simple textbox where you enter a comma-delimited set

Re: [visualization-api] Building Dashboards using Google Charts

2015-10-28 Thread 'Daniel LaLiberte' via Google Visualization API
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

[visualization-api] Building Dashboards using Google Charts

2015-10-28 Thread Rajaraman Soundararajan
Hi, There is a class google.visualization.ControlWrapper that defines a container for controls in the dashboard var donutRangeSlider = new google.visualization.ControlWrapper({ 'controlType'