michaelmorera92 commented on PR #37522:
URL: https://github.com/apache/superset/pull/37522#issuecomment-3895259903
I tested this ticket. Formula annotation is being displayed correctly in the
chart when the column used in the X Axis has a label. The application is
working as expected.
# Scenario tested
Verify the formula annotation is being displayed correctly in the chart when
the user selects a column in the X Axis that has a label.
## Variants
| Variant | Status |
| -------- | -------- |
| With column label |:white_check_mark: |
| Without column label |:white_check_mark: |
| Hiding layer |:white_check_mark: |
| Not hiding layer |:white_check_mark: |
| Exploratory around |:white_check_mark: |
## Steps
1. Go to Superset app
2. Click on chart > "+ Chart" (Create a new chart)
3. Select a dataset (I used the "birth_names" dataset) and "Line Chart" and
click on the "Create Chart" button.
4. In "Chart Source"
1. In the "main.birth_names", click the 3 dots.
2. In the "Edit Dataset birth_names", add a label to the column for X
Axis.
3. Click on the "Save" button
5. Add the modified to use label column in the X-axis field (label should
be displayed in the field, I used "ds" column with the ).
6. Add valid metric (I used "Sum(num)").
7. Go bottom to "Annotations and Layers"
1. Click on "+ Add Annotations Layers"
2. Add a valid name (I used "test_formula")
3. Add a valid formula (I used "x/100000000")
4. Click on the "OK" button
8. Click on the "Update chart" button.
## Current result
After the step 8, the formula annotation is being displayed correctly in the
chart when the user selects a column in the X Axis that has a label.
## Evidence

--
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]