-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
[explore] disable "granularity" control for non-timeseries visualizations #2750
Comments
You may want to use the time series bar chart. We should hide the |
I used the time series bar chart instead. Wouldn't it be better if there were only one bar chart visualization and the type would change depending on whether the time grain has a value or not? |
Perhaps, though some of the form elements as they exist should get enabled/disabled based on whether granularity is specified or not, and the change management around this change (a database migration script that would alter slices to the new scheme) would be significant. |
Notice: this issue has been closed because it has been inactive for 340 days. Feel free to comment and request for this issue to be reopened. |
I think this is a valid issue, we should only show granularities for charts types which group-by time (time-series). Having this displayed for non-time-series based charts is misleading. |
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.17.6
Expected results
Using the timestamp column for the series, I would expect the time grain to apply, so that the series is e.g. weekly.
Actual results
The query executed does not include any statement regarding the time grain and this is visible in the visualization.
Steps to reproduce
Create a distribution bar chart with timestamp series.
The text was updated successfully, but these errors were encountered: