Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature-Request] Add ability not to show small text #3153

Closed
cooperok opened this issue Oct 25, 2018 · 2 comments
Closed

[Feature-Request] Add ability not to show small text #3153

cooperok opened this issue Oct 25, 2018 · 2 comments
Labels
feature something new

Comments

@cooperok
Copy link

By default if set textposition=‘inside’ to Pie text will be scaled according to group size. And if group size is very small it does not look good.
1
Would be much better if text for small groups will be hidden
2
There is option 'insidetextfont' or 'textfont' which contains family, color and size. In my opinion would be usefull to set minimum font size and don't show text if scaled size is less then that value. Or maybe just turn off text scaling, for example set font size to 14 and if there is need to scale text don't show it at all.

Same for stacked bar charts
2018-10-25 10-13-26

@alexcjohnson
Copy link
Collaborator

Great idea, thanks for posting! The very small text is definitely useless... we might even make this parameter a fraction, like mintextscale - and give it a default of something like 0.5 or even larger, but if you want to disable scaling altogether just set it to 1.

@alexcjohnson alexcjohnson added the feature something new label Oct 25, 2018
@archmoj
Copy link
Contributor

archmoj commented Nov 24, 2021

Resolved by #4420 using uniformtext with mode: 'hide'.

@archmoj archmoj closed this as completed Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

No branches or pull requests

3 participants