2 ms·
Yeah, I've done the post-processing SVG version and it works fine, until the chart itself does have a node near the top left, and then things overlap. So I nee
by ColinWright 4y ago
Yeah, I've done the post-processing SVG version and it works fine, until the chart itself does have a node near the top left, and then things overlap.
So I need to test whether they will overlap, and suddenly it's a bag-o-nails. Or at the least, need to test if something is up there and not both including the extra, but that's ... inelegant.
The option of having an HTML template and including the SVG will work, and that's the one I'm probably going to go with. It needs tweaking.
- tzs 4y agoAnother way to save the post-processing approach that would probably be easier than testing for something already up there would be to lower the top coordinate of the polygon of the white background by subtracting font-size. That would give you some new space on top for the text that should be free of anything else. (Probably need slightly more than font-size, in case parts of some characters descend below the baseline).
- ColinWright 4y agoSomething to experiment with ... I hope to have time in a few days. Thanks.