Closed Quafadas closed 2 years ago
encode / decode on bar chart spec gets this;
"marks": [
{"from": {"data": "table"}, "type": "rect", "encode": {}},
{"type": "text", "encode": {}}
],
for marks.
I eyeballed this and did it manually, the correct solution is to generate off the Vega spec itself.
Doesn't plot right now, because mark / encode is a blank case class. https://github.com/Quafadas/dedav4s/blob/b0b4677f9b99bcf76ebb7c01c48a96bff05e731d/core/shared/src/main/scala/viz/dsl/vega.scala#L1604
Think the codegen fails because; vega/vega#3491