SeriesSourceObserver
Class
Assembly LiveChartsCore
Namespace LiveChartsCore.Kernel.Observers
Summary:
Observes a collection of source objects and manages a corresponding collection of series objects, providing
synchronization between the two collections.
Object
=>
SeriesSourceObserver
Constructors
// Observes a collection of source objects and manages a corresponding collection of series objects, providing
synchronization between the two collections.
| IChartView chartView, | // The chart view. |
| Func<Object, ISeries> sourceToSeriesMap, | // A function that maps a source object to an ISeries object. |
| Func<Boolean> canBuildFromSource | // A function that determines whether the observer can build series from the source collection. |
)
Methods
// Initializes the observer, if there is already an instance being observed, it is disposed.
| Object instance | // The instance to observe. |
)
// Disposes the observer.