[Plugin] A New Era in Bubble: The Plotly Charts, the First Ever Intelligent Bubble Plugin! 🤖

Hey, excellent plugin I’ve been playing around with it and its simply amazing. Have a few questions tho, I previously used Plotly directly to plot a scatter on a container.
The idea is to let the user explore the data and visualize it, so I have some dropdowns to let users select the X and Y axes they want to visualize and a “Label/Group” dropdown that should(in plotly terms) create separate traces for each unique label with their respective points.

Is there any way to build this with the plugin? As we can’t create a trace Element for each unique label. I tried building a “Multiple Module Output” text using Expression and Javascript and the result text is fine(if theres a label selected it makes multiple traces and concatenate them just as the Plot needs it, but the Chart somehow keeps all the previous traces on its “Current Chart” after selecting a different label, even when the previously built trace text is correctly formatted and updated with the latest selected label.

This is the ChartPlotter using the Trace text(built with js) without a label selected.

The user selects a label and the javascript build multiple traces and output all of them as text separated with “,”

User changes the label/group field, the Plot chart Element has a Current Chart, with the previous traces(this shouldn’t happen)

TraceText is updated with only 1 trace(just to show that the trace is ok and the current chart is not)

2 Likes