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.

Better truncation on category labels

See original GitHub issue

We don’t want to show 500,000 labels, if there is one label per cell, for instance (easy decision, performance, usability)

Current method (naive):

image image

The tool could be smarter about how it truncates.

Potentially smarter, and not too hard: increase the threshold of cells we ‘would’ show, and add a button in the middle of the truncation which unfolds.

  1. Click show all, expand everything
0 
1
2
[... show all ...]
781
782
783
  1. Expand ‘up’ or ‘down’
0 
1
2
[...more from top...]
[...more from bottom...]
781
782
783

Github implementation:

image

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
signechambers1commented, Jun 14, 2022

@colinmegill or @pablo-gar do either of you know of a dataset in hosted prod that currently has this issue?

0reactions
atarashanskycommented, Jul 20, 2022

200 currently

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wrapping, truncating, and auto-rotating axis labels - amCharts
This tutorial will explain how you can deal with very long axis labels, by wrapping and/or truncating them. Prerequisites#. If you haven't done...
Read more >
Auto-truncate long category axis labels but display the full ...
I am using amchart for a graph. Below is the code, var chart = AmCharts.makeChart("chartdiv", { "theme" ...
Read more >
Stacked Bar Chart with 2 Categories - Labels Truncated - MSDN
I have a basic stacked bar chart that I have created in Visual Studio 2008. It has 1 series field, 1 data field,...
Read more >
Truncating labels - rather randomly. How do I stop ... - Infragistics
If you are looking to truncate labels on a more consistent basis, and not so much on the basis of the space available...
Read more >
Solved: Avoiding truncation of Y-Axis labels.
Solved: Good afternoon all; I have recently started trying to use Power BI Desktop. For my first attempt I am trying to replicate...
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