yousoph opened a new issue, #30877:
URL: https://github.com/apache/superset/issues/30877
### Bug description
When adding a formula-type annotation to a horizontal bar chart, the
annotation does not display as expected. Instead of showing a vertical line to
mark a value on the x-axis, the annotation appears as an additional category on
the y-axis, which misleads the user and distorts the chart’s layout.
**How to reproduce the bug**
1. Create a horizontal bar chart.
2. Add a formula-type annotation to the chart.

3. Observe the annotation’s display behavior on the horizontal bar chart.
**Expected results**
The annotation should display as a vertical line across the chart, marking
the relevant value on the x-axis, similar to how it works with vertical bar
charts.
**Actual results**
The annotation doesn’t appear as a vertical line.

### Screenshots/recordings
_No response_
### Superset version
master / latest-dev
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [ ] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]