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.

[feature] [topic] label enhance

See original GitHub issue

Since there are many problems with the label, we should do some unified work to enhance the user experience of label. The issues referenced below are mainly related to three aspects question:

  • label overlapping
  • label show automatically with zoom
  • multiple label, the label configuration is an array
  • add click event for the label

For example, the following picture shows the label overlapping in themeRiver: themeRiver_overlapping

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

14reactions
pissangcommented, Nov 5, 2019

Thanks @deqingli

The enhacement of label is a long game. The final destination of label enhacement is all labels on the view are clear enough to represent the data.

Here are some of my thoughts about how to achieve it:

  • First of all we should separate label creation from the data elements. That means all labels are all individual elements and can be handled easier.

  • Provide label guide line(currently we call it labelLine) for all series.

  • A general label layout algorithm which has following rules:

    • Labels won’t overlap. And may have a gap between labels.
    • Labels have local minimum distance to the original position after layouted.
    • Align labels based on given configuration.
    • Calculate a priority for all labels and hide the unimportant labels if the space is not enough for displaying all.
2reactions
pissangcommented, Sep 24, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

[feature] [topic] label enhance #11497 - apache/echarts
Calculate a priority for all labels and hide the unimportant labels if the space is not enough for displaying all. 7
Read more >
Weight labels and features—ArcGIS Pro | Documentation
Prevent all labels from being placed on a given layer of point or line features or polygon outlines. Do this by increasing the...
Read more >
Topic Labeling
Topic labeling is a machine learning technique for organizing and understanding massive amounts of text data by assigning “tags” or groups based on...
Read more >
A Filtering Process to Enhance Topic Detection and Labelling
The latter aims to compact the result delivered by inferential algorithms such as Latent Dirichlet Allocation and Dirichlet Mixture Model. Our filtering process ......
Read more >
Label Enhancement for Label Distribution Learning
via leveraging the topological information in the feature s- pace and the correlation among the labels. This process is called label enhancement (LE)...
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