ChartRangeFilter - GWT Charts (unofficial)

81 views
Skip to first unread message

JT

unread,
Oct 18, 2012, 4:32:45 PM10/18/12
to google-visua...@googlegroups.com
I'm using the unofficial charts package. I see there is support for ChartRangeFilter, but I'm not understanding how it works. Particularly: Dashboard.bind() which takes WrapperObjects but its not clear how these get bound to the HTML or each other. 

Has anyone used the control widgets with this package? An example would be great. 

asgallant

unread,
Oct 18, 2012, 4:51:33 PM10/18/12
to google-visua...@googlegroups.com
I can't speak for the Java end of things, but generally, the bind method takes two arrays as parameters: an array of control wrappers and an array of chart or control wrappers.  All of the controls in the first array will control the data that gets fed to the controls/charts in the second array.  You can make multiple bind calls to bind different controls and charts together, or to create chains of controls (ie control 1 feeds control 2, which feeds control 3...which feeds control N which feeds the chart).

Linking to the HTML occurs via assigning the container element ID's to the charts, controls, and the dashboard.
Reply all
Reply to author
Forward
0 new messages