-
Analyst widget in Dash
Hi Team,
I use Grammar of Graphics (GoG) in the Analyst widget in Dash for both a project at my work (where I am on the KX platform) and for a project at home where I use KX Dashboards Direct with Developer. I find GoG to be a real gem – super configurable and forgiving of large datasets. I also figured out that if I use dash controls to save variables back to the server, I can use those standard Dash controls to manipulate GoG visualisations. However, although that means I can get controls to send data into GoG, I have been completely unsuccessful in getting variables out from GoG.
For instance, if I click on a chart, I understand there should be the functionality to save that click location to view state in the ‘selected value’ control on the widget. I could then use this to drive other processes outside of the GoG visualisation.
Does anyone know if this functionality is working on both KX Dashboards Direct (the standalone KX Dash implementation for use with Developer) and the KX Platform implementation of Dash? If so, do you have an example (or examples if the Dash versions differ in approach)? I know there are instructions on the widget but I have been unable to assign anything to a viewstate whether I use a dictionary or a symbol. My hope would be I could run your provided example, understand it and then adapt it to my use cases.
Thanks and regards,
Simon
Log in to reply.