Incubator-superset: Filters not being applied on annotation layers

Created on 25 Nov 2019  路  2Comments  路  Source: apache/incubator-superset

Filters fail to be applied on annotation layers added to a time series line chart. The filter will only be applied to the base line chart onto which the annotation layers were added. The annotation layer graphs remain the same.

Expected results

Filters to be applied on annotation layers

Actual results

Filters are only applied to the base chart. Annotation layer graphs remain unchanged.

Screenshots

The chart below shows the number of visits to a facility observed between December and March. There are three line graphs: The blue line graph which is the base graph, plots the total number of visits made in a month. The other two line graphs represent two added annotation layers, the High Risk layer(orange) and Low Risk layer(maroon). Each of these annotation layers show the total visits done for each of the risk cases per month.

Base Chart with Annotations Added

On applying a filter as highlighted by the red box, the values of the line graphs remain the same for both the annotation layers (High risk and low risk line graphs). Only values of the base chart(blue graph) are updated.

image

Environment

  • superset version: 0.34.0
  • python version: 3.6

Steps to reproduce

1) Plot a time series
2) Add annotation layers (also time series)
3) Apply a filter

Checklist

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

  • [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [x] I have reproduced the issue with at least the latest released version of superset.
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar.
#bug inactive

Most helpful comment

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.97. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 2 comments

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.97. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dinhhuydh picture dinhhuydh  路  3Comments

ylkjick532428 picture ylkjick532428  路  3Comments

kalimuthu123 picture kalimuthu123  路  3Comments

XiaodiKong picture XiaodiKong  路  3Comments

deity-bram picture deity-bram  路  3Comments