You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
8eecd1a has broken the examples/charts/demo_interactive.dart example. Clicking the "Add row" or "Remove last row" buttons no longer shows any action. This is because of this patch in the commit mentioned above:
The problem is that the rows object which is passed to the DefaultChartDataImpl constructor is no longer stored in this.rows. Instead, a newList object is generated which is then stored in this.rows.
In my opinion it would be great if the original behaviour could be restored as with the current state we can no longer do this:
ChartData data =newChartData(columns, rows);
// Do other stuff// New rows have been received. Let's add them.
rows.add(...);
// Doesn't work since `ChartData` has created its own `rows` object internally :(.// We can use this workaround but is not that elegant.
data.rows.add(...);
Also, this doesn't work anymore and always returns false now since the new rows object is created without any regard whether the original rows object was an instance of ObservableList or not.
8eecd1a has broken the
examples/charts/demo_interactive.dartexample. Clicking the "Add row" or "Remove last row" buttons no longer shows any action. This is because of this patch in the commit mentioned above:The problem is that the
rowsobject which is passed to theDefaultChartDataImplconstructor is no longer stored inthis.rows. Instead, a newListobject is generated which is then stored inthis.rows.In my opinion it would be great if the original behaviour could be restored as with the current state we can no longer do this:
Also, this doesn't work anymore and always returns
falsenow since the newrowsobject is created without any regard whether the originalrowsobject was an instance ofObservableListor not.