collectAsState
fun <Model : ChartEntryModel> ChartModelProducer<Model>.collectAsState(chart: Chart<Model>, producerKey: Any, animationSpec: AnimationSpec<Float>? = defaultDiffAnimationSpec, runInitialAnimation: Boolean = true, chartValuesManager: ChartValuesManager, getXStep: (Model) -> Float?, dispatcher: CoroutineDispatcher = Dispatchers.Default): State<ChartEntryModelWrapper<Model>>
Observes the data provided by this ChartModelProducer and launches an animation for each ChartEntryModel update.