diff --git a/src/Widget/ChartEditor.jsx b/src/Widget/ChartEditor.jsx index 10d120f5..712c9e77 100644 --- a/src/Widget/ChartEditor.jsx +++ b/src/Widget/ChartEditor.jsx @@ -151,7 +151,7 @@ class Edit extends Component { LoadableCustomEditor.preload(); } - componentDidUpdate() { + handleUpdatePlot() { const el = document.getElementById('gd'); if ( @@ -241,6 +241,7 @@ class Edit extends Component { frames, }; this.props.onChangeValue(newVal); + this.handleUpdatePlot(); }} chartHelp={chartHelp} showFieldTooltips