patrykandpatrick / vico

A light and extensible chart library for Android.
https://patrykandpatrick.com/vico/wiki
Apache License 2.0
2.07k stars 125 forks source link

Examples still use deprecated CartesianChartModelProducer.build() function #792

Closed ericswpark closed 2 months ago

ericswpark commented 2 months ago

Area

See the documentation here: https://patrykandpatrick.com/vico/wiki/cartesian-charts/layers/line-layer/#basic

Error

It should be updated to use the new constructor style:

val modelProducer = remember { CartesianChartModelProducer() }

Additional information

No response

patrickmichalik commented 2 months ago

Hello! Thanks for the report. This will be corrected.

patrickmichalik commented 2 months ago

The fix is live. Cheers!