SeriesSourceObserver

Observes a collection of source objects and manages a corresponding collection of series objects, providing synchronization between the two collections.

Class · Namespace LiveChartsCore.Kernel.Observers · Assembly LiveChartsCore · View source

Inheritance

Object SeriesSourceObserver

Implements

Members

Methods

Initialize 1 parameter

Initializes the observer, if there is already an instance being observed, it is disposed.

Object instance The instance to observe.

Dispose No parameters

Disposes the observer.

Constructors

SeriesSourceObserver 3 parameters

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.