reflex
reflex copied to clipboard
Recharts component should let Cartesian carry data too
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!