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.

consistent text mode

See original GitHub issue

We need a simple way to guarantee that the text displayed within/across traces of the same type is in the same size and orientation. For example if I have two bar traces in a plot with text visible, the text should all be of the same size and either all vertical or all horizontal. Likely this will mean making it all as small as necessary to fit the largest bit of text.

We likely want this to work within treemaps as well: being able to guarantee that short labels aren’t being displayed bigger than long labels.

For pies and sunbursts obviously orientation is a bit trickier because it’s relative to the sector but for size the logic should be the same. I would expect that below a certain size the text could all be horizontal and above a certain size the text would all just be oriented radially or something.

I don’t think we need this to work across trace types (although it should work across traces), e.g. same font size for bars and treemaps in the same figure (but different bar traces should coordinate).

We should probably provide a min/max font size along with some kind of defined fallback if the required size to make it fit is outside of those bounds.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
nicolaskruchtencommented, Dec 2, 2019

identical.

0reactions
archmojcommented, Dec 2, 2019

So with traces in two different subplots should they use an identical minimum or two minimum values?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intro to paragraph styles in Pages on Mac - Apple Support
You can use paragraph styles in your document to: Achieve a consistent look for different types of text in your document: For example,...
Read more >
How do I get consistent glyphs across math mode and text ...
In unicode-math , you can map the exact glyphs from any text font to any of your math alphabets with range= . In...
Read more >
How to keep text consistent in Photoshop - YouTube
Consistency is the mark of an experienced designer. But how do you stay consistent with projects coming and going, details getting fuzzy, ...
Read more >
keeping font consistent in new footnotes/pasted text
What you can do is click the Keep Text Only option found on the Paste Options button; this ensures that Word uses the...
Read more >
How To Ensure Professional Consistency In Your Documents ...
With Quick Styles, add a new one based off of text you've already modified to ensure the look you want. Here are four...
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