You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "maratbakiev2 (via GitHub)" <gi...@apache.org> on 2023/09/14 14:12:06 UTC

[GitHub] [superset] maratbakiev2 opened a new issue, #25300: Time filters are not applied to annotation layers of type Line Chart [Legacy]

maratbakiev2 opened a new issue, #25300:
URL: https://github.com/apache/superset/issues/25300

   I have a metric and it's target value (which depends on time). I need to plot them together.
   For this I've picked Time-Series line Chart to plot factual values and applied annotation of Time series type to plot target values. The annotation itself is Line Chart [Legacy] plot. The problem is that on the dashboard, when time filters are applied, annotation time-series doesn't change. I've tried to play with "override time range" and "override time grain" options. But nothing works.  
   
   #### How to reproduce the bug
   
   1. create Time-Series line Chart (plot 1)
   2. create Line Chart [Legacy] (plot 2)
   3. add plot 2 as time-series annotation to plot 1.
   4. Put plot1 into dashboard and try to play with time range/time grain. plot 1 range/aggregation will change, while plot 2 will not
   
   ### Expected results
   
   I've expected time-series annotation to behave the same why as the "main" plot
   
   ### Actual results
   
   Described above
   
   #### Screenshots
   
   Time range annotation (plot 2 in the list above)
   <img width="1439" alt="image" src="https://github.com/apache/superset/assets/37618176/039c151e-775f-452c-8bcc-95e693384666">
   
   "Main" plot (plot 1 in the list above)
   <img width="1405" alt="image" src="https://github.com/apache/superset/assets/37618176/ed500c45-6184-4ca8-afab-8ebf2a13545c">
   
   How it looks on dashboard. The problem is in red oval
   
   <img width="1196" alt="image" src="https://github.com/apache/superset/assets/37618176/07ee250b-284a-49f3-b32a-c37d64bd87a0">
   
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Chrome Desktop. Version 116.0.5845.140 (Official Build) (arm64)
   - superset version: `2.1.1`
   - python version: `3.8.18`
   - node.js version: `16`
   - any feature flags active: Dashboard RBAC, Alert-Reports
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any
   `
   2023-09-14 14:09:08,689:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:08,712:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:08,778:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:08,790:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:08,802:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:08,877:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:08,892:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:08,894:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:08,905:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:08,990:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:08,999:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:09,008:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:09,072:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:09,094:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:09,104:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:09,172:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:09,182:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:09,199:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   2023-09-14 14:09:09,275:WARNING:superset.common.query_object:The field `timeseries_limit` is deprecated, please use `series_limit` instead.
   The field `timeseries_limit_metric` is deprecated, please use `series_limit_metric` instead.
   2023-09-14 14:09:09,275:WARNING:superset.common.query_object:The field `timeseries_limit_metric` is deprecated, please use `series_limit_metric` instead.
   The field `series_limit_metric` is already populated, replacing value with contents from `timeseries_limit_metric`.
   2023-09-14 14:09:09,275:WARNING:superset.common.query_object:The field `series_limit_metric` is already populated, replacing value with contents from `timeseries_limit_metric`.
   `
   - [yes ] I have reproduced the issue with at least the latest released version of superset.
   - [ yes] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   None
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Time filters are not applied to annotation layers of type Line Chart [Legacy] [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #25300: Time filters are not applied to annotation layers of type Line Chart [Legacy]
URL: https://github.com/apache/superset/issues/25300


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Time filters are not applied to annotation layers of type Line Chart [Legacy] [superset]

Posted by "Venya331 (via GitHub)" <gi...@apache.org>.
Venya331 commented on issue #25300:
URL: https://github.com/apache/superset/issues/25300#issuecomment-1759338448

   Having the same problem 
   ![image](https://github.com/apache/superset/assets/33000995/cd1f5154-ec13-4a39-bc2a-26d93901b880)
   tried to pass {{from_ddtm}} {{to_ddtm}} as a part of query for a layer it did not help.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Time filters are not applied to annotation layers of type Line Chart [Legacy] [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #25300:
URL: https://github.com/apache/superset/issues/25300#issuecomment-1998627538

   Closing this as stale... we've since migrated away from the legacy timeseries chart. I think you can now use the Mixed Series chart to this effect, plotting two line charts together. Hope that works out! 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org