Updating vis_config parameter using Javascript events

I am building a web application using ReactJS and I am able to embed looks using SSO embedding & also able to update filters using javascript events i.e ‘look:update:filters’. The example of which is as follows - 



type: "look:filters:update", 

filters: {

"team": "1234", 





On similar grounds, I want to update the type of visualization using the ‘vis_config’ parameter on the click of a button on my web application.

Is there a way this can be done? Please let me know. 

This topic has been closed for comments