Skip to content

[explore] disable "granularity" control for non-timeseries visualizations #2750

@petroswork

Description

@petroswork

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if any
  • I have reproduced the issue with at least the latest released version of superset
  • I have checked the issue tracker for the same issue and I haven't found one similar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions