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.

Adding annotation formula to bar chart add more bars instead of line

See original GitHub issue

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to explore
  2. Create time-series bar chart
  3. Add annotation layer
  4. Set y=constant e.g. y=100 as formula

image

Expected behavior A horizontal line at y 100

Screenshots It adds a bar for each grouped bar instead.

Pasted_Image_11_20_20__11_37_AM

Environment (please complete the following information):

  • superset-ui version: current

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
junlincccommented, Dec 9, 2020

@kristw @graceguo-supercat try Echarts time series bar chart, it does support formula annotation line. does it work for you user cases?

Screen Shot 2020-12-08 at 9 31 50 PM
0reactions
kristwcommented, Dec 9, 2020

sgtm then. Thank you all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding annotation formula to bar chart add more ...
Create time-series bar chart; Add annotation layer; Set y=constant e.g. y=100 as formula. image. Expected behavior. A horizontal line at y ...
Read more >
A Complete Guide to Bar Charts
Bar charts are a fundamental visualization for comparing values between groups of data. Use this guide to learn how to get the most...
Read more >
How to make in-cell bar charts in excel - 3 different ways
1. Conditional formatting 2. REPT formula 3.
Read more >
Superset Annotations in Preset
Annotations are used to add more context to a chart by adding a layer of content. Each annotation layer can contain one or...
Read more >
How To Annotate Bars in Barplot with Matplotlib in Python?
Adding the annotations. Our strategy here will be to iterate all over the bars and put a text over all of them that...
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