Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

give the text of the legends top/left/bottom/right

Open eladonline opened this issue 2 years ago • 1 comments

Feature Proposal

image

as you can see the text is not vertically align to center and I dont find any way to do that I want the text to have a "top" option to push several pixels lower

Possible Implementation

  legend.labels: {
      top: 3
  }

No response

eladonline avatar Feb 24 '22 16:02 eladonline

I'm not sure I understand what needs to change here. The legend doesn't have extra padding from what I can see https://jsfiddle.net/8s5w910z/

To get those icons, it seems like an HTML legend was used. Are you using a wrapper around chart.js?

etimberg avatar Apr 03 '22 15:04 etimberg