Open jwildfire opened 6 years ago
Created this thinking that chart.marks
needed a better data model. This may still be true, but after looking more closely I'm not 100% convinced. I think the more pressing (and perhaps easier to fix) issue is that that selecting marks for customization in the chart is currently a pain. Going to deal with that first, and then consider whether this issue needs attention.
Final verdict: bump this to v2.0.0. Bars and Points are different and transformData() is just too messy to update safely/quickly.
Make a copy of each mark group's raw data at
chart.marks[n].data.raw[]
. This is in addition to the copy already saved atchart.marks[n].values.raw[]
(which can be removed in v2.0)