procyon-rs / vega_lite_4.rs

rust api for vega-lite v4
Apache License 2.0
27 stars 7 forks source link

Feature request: support for pie charts #6

Closed frp closed 3 years ago

frp commented 3 years ago

Subj. Like this: https://vega.github.io/vega-lite/docs/arc.html#pie-and-donut-charts

Currently, Mark enum does not have Arc, and feeding JSON from the Vega Lite examples to vega_lite_4 fails too with "data did not match any variant of untagged enum AnyMark".

ThomAub commented 3 years ago

Hello :) You can find a first example with the Arc variant of the Mark Enum. It's still rough and we might change the current generated builder naming. Hope it still can help a bit. Might add some other example from the documentation to test other properties.