goingforstudying-ctrl opened a new pull request, #40577:
URL: https://github.com/apache/superset/pull/40577
## Summary
This PR fixes the X-Axis Label Interval 'All' option not working on
timeseries charts (Area, Line, Bar, etc.) in Superset 6.0.0.
The xAxisLabelInterval control stores values as strings ('auto' or '0').
When '0' is passed to ECharts as a string, it does not correctly interpret it
as 'show all labels' on time axes. This causes the 'All' option to have no
effect.
## Changes
- Convert string '0' to number 0 before passing to ECharts' interval option
in:
- Timeseries transformProps
- MixedTimeseries transformProps
- Bubble transformProps
## Testing Instructions
1. Create an Area chart with a timeseries x-axis
2. In the chart options, set X Axis Label Interval to 'All'
3. Verify that all x-axis labels are displayed instead of every Nth label
Fixes #36325
--
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]