Many times we use a combination of Grid and Chart to display the same data and we use the
same data provider for both. The problem starts when you want to filter out some data from the
chart (for example) but not filter it out in the grid.
If you use the same data provider and a filter function, the data will be filtered out in both.
A colleague from work offered a solution to use XML filtering for this task.
I've implemented this idea using an XML based data provider and ActionScript XML filtering
to filter out data from the chart only.
Take a look at the example below: you can filter out chart columns using the check boxes in
Code can be found here.
Adding a macOS widget to a Flutter app using SwiftUI
7 months ago