iccube set filter selection from custom widget (JS)
问题 Using icCube 5.0, I created a custom widget using google maps, on which I draw polygons representing zones. From the JS code of this widget, I was able to update the selected items of a tree filter containing these zones as well. So that, user could select the wanted zones either by the tree filter OR the Map. Each one updating the other. I was using the following code to do that : Chart.prototype.producedEvents = function () { return [vizEventType.onSelection]; }; self.fireEvent(vizEventType