I'd like to customize a legend for line data so that the legend graphic is a line (styled like the actual data line) rather than a box. Currently there is the usePointStyle option, maybe adding another one called useLineStyle to accomplish this? Example:

ChartJS legend label is a box with a fill and darker outline.
Or perhaps adding the option to adjust the height of the box. Currently there is a boxWidth setting under legend label options, perhaps by setting boxHeight you could accomplish this? Maybe this should be a separate feature request in and of itself...
+1
+1
+1
+1
@cyril851122 @zeewelc @jackheywood @Thiyagarajan27 & @JewelsJLF If you want to show your interest into this issue, please use the Subscribe button on the right and don't spam the other subscribers.

Best regards
This is the approach I used to cope with the issue. It works fine (for me) and avoids boxes larger than the fontSize to simplify the mathematics. The patch below was made against 2.7.2. The property is called boxHeight and sits next to the already existing boxWidth.
I was not able to use the code tag (broken results) so I made the attachment.
Results:

Use pointStyle: 'line' or pointStyle: 'dash'
any movement in getting this feature merged?
Most helpful comment
Or perhaps adding the option to adjust the height of the box. Currently there is a
boxWidthsetting under legend label options, perhaps by settingboxHeightyou could accomplish this? Maybe this should be a separate feature request in and of itself...