d3plus / d3plus-plot

A reusable javascript x/y plot built on D3.
MIT License
7 stars 0 forks source link

Labels at end of chart line getting overlapped #190

Open jdlucena opened 1 year ago

jdlucena commented 1 year ago

In this example https://jsfiddle.net/jdlucena/wjq5bt6g/, I would like the texts to be legible for reading, without overlapping... is it possible to apply a padding?

image

davelandry commented 1 year ago

I'm not sure of a quick way to "nudge" the labels manually. These labels are determined by the logic in Plot.js here: https://github.com/d3plus/d3plus-plot/blob/main/src/Plot.js#L802-L860