Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在仪表板控件中侦听选择事件?我查看了文档,但找不到任何控件,只有图表...
我要做的是运行一个依赖于类别选择器选择的 data.group 函数,并使用生成的数据集更新表格图表。
任何帮助,将不胜感激!谢谢
当用户与控件交互时,您可以使用“statechange”事件来触发操作。
google.visualization.events.addListener(control, 'statechange', function () { var state = control.getState(); // do something with state });