rusackas opened a new issue, #27449:
URL: https://github.com/apache/superset/issues/27449

   ### Bug description
   
   Y axis truncation doesn't truncate the lines/areas, it deletes the data 
point entirely
   
   ### How to reproduce the bug
   
   1. Create a dataset from this sample query:
   ```
   SELECT 1 AS value, '2023-01-01'::date AS date
   UNION ALL
   SELECT 2, '2023-01-02'::date
   UNION ALL
   SELECT 3, '2023-01-03'::date
   UNION ALL
   SELECT 4, '2023-01-04'::date
   UNION ALL
   SELECT 1000, '2023-01-05'::date
   UNION ALL
   SELECT 100, '2023-01-06'::date;
   ```
   
   2. Create a line chart (or area chart) plotting this time series. Awesome:
   
   <img width="1732" alt="image" 
src="https://github.com/apache/superset/assets/812905/e11dbaeb-e93d-4f71-b6a0-26c644bcb867";>
   
   Now turn on Y Axis truncation, and set the Max value to something less than 
our high peak of 1000. 
   <img width="314" alt="image" 
src="https://github.com/apache/superset/assets/812905/18341c1b-7cfb-4e16-8d34-6043f7a7a84e";>
   
   Expected result - proper truncation (in 3.0)
   <img width="1161" alt="image" 
src="https://github.com/apache/superset/assets/812905/d13f56bd-7f82-42ed-aa1e-21295269aca1";>
   
   Acutal result - that data point on the 5th is just GONE:
   <img width="1159" alt="image" 
src="https://github.com/apache/superset/assets/812905/f2faa48b-b3ed-404b-bde0-bacd0fb65a2a";>
   
   
   
   ### Screenshots/recordings
   
   See above.
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   I love this new issue submission form!!!
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] 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]

Reply via email to