-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time-Series Chart Showing Min/Max X-Axis Values Even Though Disabled #15042
Comments
thanks for reporting! Screen.Recording.2021-06-08.at.10.11.08.AM.mov |
superset
superset-uidefault is false refer: https://github.com/apache-superset/superset-ui/blob/master/plugins/plugin-chart-echarts/src/Timeseries/controlPanel.tsx#L343 solutionAll in total, we can set |
I can not reproduce in the latest master and screen recoding.(since file size over 100M, I uploaded to youtube) |
@villebro can you clarify what's the expected behavior? |
documenthttps://echarts.apache.org/en/option.html#xAxis.axisLabel.showMinLabel. Echarts Source Code
and
UI ProblemSo, the problem is "UI is not a controlled state. CheckBox will diff showMinLabel" |
…el default value (apache#1161) * fix(plugin-chart-echarts): delete showMinLabel and showMaxLabel fix apache#15042 * fix(plugin-chart-echarts):
…el default value (apache#1161) * fix(plugin-chart-echarts): delete showMinLabel and showMaxLabel fix apache#15042 * fix(plugin-chart-echarts):
…el default value (apache#1161) * fix(plugin-chart-echarts): delete showMinLabel and showMaxLabel fix apache#15042 * fix(plugin-chart-echarts):
…el default value (apache#1161) * fix(plugin-chart-echarts): delete showMinLabel and showMaxLabel fix apache#15042 * fix(plugin-chart-echarts):
Screenshot
Description
By default, the min & max x-axis values appear to be showing despite the fact that they are disabled. I am able to remove by enabling then disabling again using the checkboxes. I'd imagine the default behavior is to not show those values but if it is, then perhaps the checkboxes should be marked by default...
The text was updated successfully, but these errors were encountered: