procyon-rs / vega_lite_4.rs

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

Allowing grouped bar charts #22

Open mdlemay opened 2 years ago

mdlemay commented 2 years ago

Creating grouped bar charts like the example at https://vega.github.io/vega-lite/examples/bar_grouped.html requires that it be possible to encode the xOffset attribute, which does not currently seem to be covered in this library.

ThomAub commented 2 years ago

Is this part or the V5 specification only ? If so I think #23 could be of some help :)

mdlemay commented 2 years ago

I do see x_offset show up in the current (v4) schema.rs, but I'm not positive whether that's the relevant one.