Open maxwell8888 opened 5 years ago
Hmm, does it work if you make the svg path fit? Otherwise this may need to first fixed in Vega.
Yes, if the path is no longer than 2, then there is no overlap with the label.
Can you file an issue about it in Vega then? And for now, you have to transform your svg path accordingly.
do I need to rework the schema into a vega schema or will the vega lite example I've given suffice?
You can compile to Vega in the editor and then strip the things that are not necessary to show the issue. I'd start with a spec with only color
encodings, though.
Thank you!
I would like to use lines as the symbols in the legend for my line chart. As far as I am aware, the only way to do this is supplying svg path syntax to the symbolType option. However, the position of the labels is not adjusted to account for the size of the symbol. See below example of overlapping line symbols and labels.