question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

There is an easy way to change the size of the icons in the Legend by providing the iconSize prop, but why is there no similar fontSize prop? If given one, it seems the other should be provided as well…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

17reactions
lippyDesigncommented, Feb 6, 2022

Would this work? <Legend wrapperStyle={{fontSize: "10px"}}/>. seems to reduce the size of the legend text for me

12reactions
jdlacey-clevertechcommented, Mar 6, 2019

I don’t think this should be closed. It seems like an oversight to allow the icon size to be changed via a prop but in order to change the font size you need to provide your own content.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change legend size with matplotlib.pyplot
You can set an individual font size for the legend by adjusting the prop keyword. ... With this method you set the default...
Read more >
How to Change Legend Font Size in Matplotlib?
In this article, we are going to Change Legend Font Size in Matplotlib. ... This example changes the font size of items in...
Read more >
How do I change the font size in my legend? - MATLAB Answers
You can change the font size for a MATLAB legend by setting the 'FontSize' property of the Legend object. For example, plot four...
Read more >
How to Change Legend Font Size in Matplotlib - Statology
This tutorial explains how to change the legend font size on Matplotlib plots, including several examples.
Read more >
Legend — Matplotlib 1.5.1 documentation
The pad and spacing parameters are measured in font-size units. e.g., a fontsize of 10 points and a handlelength=5 implies a handlelength of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found