reflex-dev / reflex

🕸️ Web apps in pure Python 🐍
https://reflex.dev
Apache License 2.0
20.42k stars 1.18k forks source link

Recharts component should let Cartesian carry data too #4293

Open kaihsin opened 2 weeks ago

kaihsin commented 2 weeks ago

Describe the bug Currently, for Cartesian related Recharts components, data can only be assign at the "chart" level. However, this force all the data point to be in a grid (i.e. they need to have same x data values and/or y data values) and thus limit the usage. For related issue please see: https://github.com/recharts/recharts/issues/1167

Expected behavior All the Cartesian derived classes should have field data. For example: rx.rechards.line(... data=...)

Thanks!

linear[bot] commented 2 weeks ago

ENG-4040 Recharts component should let Cartesian carry data too