diff --git a/packages/plugin/src/ChartPlugin.js b/packages/plugin/src/ChartPlugin.js index eb43c8989a..2bdff42a43 100644 --- a/packages/plugin/src/ChartPlugin.js +++ b/packages/plugin/src/ChartPlugin.js @@ -42,7 +42,8 @@ class ChartPlugin extends Component { return; } - if (this.props.id !== prevProps.id) { + // id set by DV app, style works in dashboards + if (this.props.id !== prevProps.id || !isEqual(this.props.style, prevProps.style)) { this.recreateChart(0); // disable animation return; }