Describe the bug
Generate a simple chart using a CartesianDataCollection, serialize the chart using Chart.to_json(), and then attempt to round-trip it using Chart.from_json(). The code below shows a simple example:
Expected behavior
Should round-trip into a chart that renders the same, even if internally it deserializes CartesianDataCollection into a series of CartesianData instances.
Describe the bug Generate a simple chart using a
CartesianDataCollection
, serialize the chart usingChart.to_json()
, and then attempt to round-trip it usingChart.from_json()
. The code below shows a simple example:Expected behavior Should round-trip into a chart that renders the same, even if internally it deserializes
CartesianDataCollection
into a series ofCartesianData
instances.