Customize legend box height
See original GitHub issueas the code below, the legend box height is binded to the label fontSize, can i customize the legend box height independent of the label fontSize, like the boxWidth ?
` // Draw the box
ctx.strokeRect(cursor.x, cursor.y, this.options.labels.boxWidth, this.options.labels.fontSize); ctx.fillRect(cursor.x, cursor.y, this.options.labels.boxWidth, this.options.labels.fontSize); `
Issue Analytics
- State:
- Created 8 years ago
- Reactions:15
- Comments:38 (3 by maintainers)
Top Results From Across the Web
How to adjust the size of a Matplotlib legend box?
To place a legend on the figure and to adjust the size of legend box, use borderpad=2 in legend() method. To display the...
Read more >How to specify the legend box size in ggplot/ggplot2
To specify the legend box size you could use + theme(legend.key.size = unit(2, "cm")) . library(tidyverse) tb <- tibble(a = 1:10, b =...
Read more >How to Make a Legend Box Bigger in Excel
1. Click the legend box. · 2. Click an individual data label in the legend. · 3. Click "Home" in Excel's ribbon. ·...
Read more >Change Legend Size in Base R Plot - GeeksforGeeks
To change the legend size of the plot, the user needs to use the cex argument of the legend function and specify its...
Read more >How can I enlarge the legend box-size? - MATLAB Answers
My problem is that as soon as I change the font size to 15 the box around the legends doesn't expand automatically and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Another user here that would really appreciate this feature!
+1