I don’t think Anvil’s standard event system can register clicks inside the Plotly chart (if that is part of what you need). well, that’s just wrong but I redeemed myself eventually…
You could go a slightly different route and have dropdowns (or other Anvil components) that allow users to type in/select their changes. This way, events can be rigged up accordingly that would eventually lead to the chart refreshing and showing the new data (all on the client if you wish).
Yes! It looks like you can access and change the data directly in the client. For example:
self.plot_1.data[0]['y']=[1, 1, 1.2, 1.2]
self.plot_1.redraw()
