My question is similar to this one.
I have a line graph made using c3js. When the user alters some parameters through sliders, the line will be replotted.
I have also created a custom legend (per client request) in which the label will stick to the end of the line.
It'd be fine if the lines are spaced apart, but quite often they are close together and I get an overlap. What's the best thing to do here?
I'd like to do something like this, but there isn't anything as structured as rows in my example. I also cannot do this, because the client explicitly stated they want the legend to follow the end-of-line.