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.

Annotation editing support in toolbox

See original GitHub issue

What problem does this feature solve?

Currently there is no easy way for a user to add annotations to a chart. The data can be initialised with labelled points but for my use case, I need my data analysts to be able to highlight a chart area and directly add annotations in a similar way to http://demo.blacklabel.pl/ (see the buttons in the top right: text, rectangle)

What does the proposed API look like?

  1. The toolbox would be able to be initialised with addAnnotations: true - this would add buttons in the top right corner similar to http://demo.blacklabel.pl/

  2. When annotations are added, an event would be triggered with a payload like this:

{
   annotationAdded: { annotationType: 'rectangle', annotationText: 'blah', annotationXMin: 123, annotationXMax: 150, annotationYMin: 100, annotationYMax: 200 },
   allAnnotations: [{ annotationType: 'rectangle', annotationText: 'blah', annotationXMin: 123, annotationXMax: 150, annotationYMin: 100, annotationYMax: 200 }]
}

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
tomasz-zablocki-ziegertcommented, Aug 2, 2022

It’s the only missing feature that makes our team hesitant about adopting echarts for our product. It’s already a majority of our customers that made it clear that it’s a mandatory to have it.

3reactions
Oviliacommented, Mar 1, 2019

Yes. We are considering enhance labeling feature with annotation. There shall be much work to do, and it is scheduled in ECharts v5, which we haven’t begin with yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

apache/echarts - Annotation editing support in toolbox - GitHub
Currently there is no easy way for a user to add annotations to a chart. The data can be initialised with labelled points...
Read more >
Toolbox and Favorites - PDF Annotator Manual
Adding Tools to Favorites​​ To modify a tool, as, for example, to change the color of a pen, select the tool in the...
Read more >
Settings Dialog Box: Annotations - 2021 - DraftSight Help
To access annotation settings, click Mechanical Toolbox > Settings, then click Annotations. You can also access annotation settings:.
Read more >
Create an Annotation
Right-click the annotation and select Properties to open the Annotation Editor. Work with the following options: Name. Specifies the name of the annotation....
Read more >
Convert Labels To Annotation (Cartography)—ArcGIS Pro
ArcGIS geoprocessing tool that converts labels to annotation for a single layer or an entire map.
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