DrPaulBrewer / single-market-robot-simulator-viz-plotly

middleware for generating charts with plotly from single-market-robot-simulator simulation logs
Other
1 stars 0 forks source link

interactivity should not be toggled on each chart creation #5

Closed DrPaulBrewer closed 4 years ago

DrPaulBrewer commented 4 years ago

On Econ1.Net, when interactive charts are selected, the chart is not always interactive.

When a chart is created repeatedly, every other drawn chart seems to be interactive.

DrPaulBrewer commented 4 years ago

The console.log statements showed that isInteractive is being set correctly on the visualization object from the user-selected value.

The question then becomes whether it is reaching Plotly.js correctly, and if it is actioned by Plotly.js correctly.

DrPaulBrewer commented 4 years ago

Plotly.newPlot doesn't exhibit any toggling of interactivity.

Seems fixed by this simple change.

Closing for now.