Custom Visualization API V2 not working in Dashboard

  • 30 November 2021
  • 0 replies

I am using Custom Visualization V2 api to trigger a filter update from our custom visualization on user event(click and on change) on some element inside the visualization. The trigger method specified in the docs does not work. 

vis.trigger("filter", [{
field: "", // the name of the field to filter
value: "%tommy%", // the "advanced syntax" for the filter
run: true, // whether to re-run the query with the new filter

But strangely the same code works when the same visualization is used in a look.


Can anyone help.


This topic has been closed for comments