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.

Text does not show up on bars with empty area

See original GitHub issue

If a bar does not have any width or height, text does not show up, even when {textposition: 'outside'} is set.

https://codepen.io/haskellelephant/pen/PyQemG

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
etpinardcommented, Oct 25, 2018

Perhaps we should do like barpolar does and draw invalid bars with a blank path

https://github.com/plotly/plotly.js/blob/fdcdd227ea4ef2380bbf25682049f506be1319ec/src/traces/barpolar/plot.js#L52-L55

instead of removing them?

1reaction
alexcjohnsoncommented, Oct 17, 2018

Confirmed, thanks for the report @eivindjahren!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Display text on bootstrap progress bar if bar is empty
From the Bootstrap Docs. To ensure that the label text remains legible even for low percentages, consider adding a min-width to the progress...
Read more >
Empty gray signal bars, can't make calls … - Apple Community
Empty gray signal bars, can't make calls though 4G works fine. · Make sure that your device is connected to a Wi-Fi or...
Read more >
Why does some text display with square boxes in some apps ...
When running certain apps on Windows 10 desktop or Windows 10 Mobile, some characters display as a square or rectangular box, or as...
Read more >
Showing an alternate text when no data available in a Power ...
Learn a trick to show an alternate text in Power BI report when no data is available through a real-world demo.
Read more >
Search bar empty content | Opera forums
Let's try prosa: Seach terms are not showing up, text is blank or empty. Anyone else knows this or faces it, too? It...
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