Documentation / @finchart/core / index / DataManagerFactory
Interface: DataManagerFactory()
Defined in: packages/core/src/data/types.ts:424
Give it a way to read coordinates and it builds you a manager.
Every series needs its own manager — a manager instance holds data, so it can't be shared. Hence passing the way to build one, rather than an instance.
The ceiling (maxPoints) and tiering (tiered) are decided by the wiring and can't be changed here. The only thing that should differ per series is what to decimate and how.
DataManagerFactory<
T>(coordinates,policy?):DataManager<T>
Defined in: packages/core/src/data/types.ts:425
Give it a way to read coordinates and it builds you a manager.
Every series needs its own manager — a manager instance holds data, so it can't be shared. Hence passing the way to build one, rather than an instance.
The ceiling (maxPoints) and tiering (tiered) are decided by the wiring and can't be changed here. The only thing that should differ per series is what to decimate and how.
Type Parameters
T
T extends BaseDataPoint
Parameters
coordinates
policy?
If absent, use the wiring's default as is.
Returns
DataManager<T>