apache / apache/superset

Incomplete chart drawing in logarithmic scale

Open
#25,829 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
74.8k
Forks
18.3k
Avg merge
2d 7h
Merged PRs (30d)
692

Description

A clear and concise description of what the bug is.
I created a stacked bar chart with logarithmic scale and sometimes some values are not displayed while present in tooltip

#### How to reproduce the bug

Create a stacked chart

### Expected results
Stacked rectangle idrawn correctly

### Actual results

A stacked bar is missing one rectangle among the expected 3 ( see middle of the first image).

#### Screenshots
In the "ReviewFixed" stack I expect to see 3 rectangles but only the 2 are visible
![immagine](https://github.com/apache/superset/assets/44871257/8566b511-e1a2-4f58-b3e2-2a28dcce8dc4)

Same chart but in linear scale
![immagine](https://github.com/apache/superset/assets/44871257/a4c7befa-7733-4438-b54c-7e8b531bcc49)
Here given the scale

### Environment

(please complete the following information):
Superset(downloaded 2 weeks ago) is run via docker compose
- browser type and version: firefox
- superset version: image pulled is supersetxl:01
- python version: using version contained in the image
- node.js version: using version contained in the image
- any feature flags active:

### Checklist

Make sure to follow these steps before submitting your issue - thank you!

- [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version of superset.
- [ X] I have checked the issue tracker for the same issue and I haven't found one similar.

### Additional context

Contributor guide

Open the contributing guide

Research direction

No source file, test, or chart entry point is identified in the issue. First reproduce the stacked bar chart in logarithmic and linear scales using the reported Superset Docker Compose environment, then narrow down the chart-rendering entry point and verify that all expected rectangles are displayed while their tooltip values remain available.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, python, react
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.