Skip to content

Certain Annotation Options Have No Effect in Time Series Annotations #36966

@TopherLX

Description

@TopherLX

Bug description

I’m trying to visualize the cumulative daily counts of "Entry" and "SDV" operations using both Line and Bar charts. When adding Annotations of type Time Series, I’ve encountered the following issues:

Override time range has no effect
After enabling this option, applying time filters on the dashboard correctly updates the main chart, but the annotation data remains unchanged—regardless of whether the underlying query is synchronous or asynchronous. The annotation line should update according to the applied time filter, but it does not respond even after refreshing, clearing the cache, or waiting.

Override time grain has no effect
When enabled, the annotation continues to use its original time grain, ignoring any changes made to the main chart’s "Time Grain" setting.

Time Shift has no effect
I’ve tried values like 30 days, 2 months, etc., as suggested by the placeholder text, but the annotation visualization shows no shift whatsoever.
Annotation Slice Configuration → Title Column always displays "None"

It’s unclear how to configure this field. No matter what column I select (or if the underlying dataset contains valid string/text columns), it still shows "None".

Additionally, these same options appear to have no effect when the annotation type is set to Event or Interval. This raises the question: are these configuration options actually functional, or are they currently non-operational?

Any guidance or fixes would be greatly appreciated!

Screenshots/recordings

Original chart (day grain)
Image

Chart (day grain) with Time Series Annotation without 'override' options
Image

Chart (day grain) with Time Series Annotation and Override time range selected
Image

Original chart (month grain)
Image

Chart (month grain) with Time Series Annotation without 'override' options
Image

Chart (month grain) with Time Series Annotation and Override time grain selected
Image

Superset version

6.0.0

Python version

3.11

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    viz:chartsNamespace | Anything related to viz types

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions