With a dynamic flag it should be possible to control whether the data should be re-set. The data may have changed since it was initially set to display as a dataview.
The chart/table layout and config may have changed. Columns/Lables may have been added, or the chart type [eg. bar, line, doughnut] may have changed.
The dataview type plugins should reflect this in the create methods and replace the children of a dataview target rather than append.
Dataviews should be dynamic.
With a dynamic flag it should be possible to control whether the data should be re-set. The data may have changed since it was initially set to display as a dataview.
The chart/table layout and config may have changed. Columns/Lables may have been added, or the chart type [eg. bar, line, doughnut] may have changed.
The dataview type plugins should reflect this in the create methods and replace the children of a dataview target rather than append.