You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/11/30 07:03:43 UTC

[GitHub] [superset] kamalkeshavani-aiinside opened a new issue #17586: [mixed time-series] Metric name is shown in legend instead of label

kamalkeshavani-aiinside opened a new issue #17586:
URL: https://github.com/apache/superset/issues/17586


   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Create a metric with a custom label
   2. Use this metric in Mixed Time-series Chart
   
   ### Expected results
   
   Custom label for metric is shown in legend.
   
   ### Actual results
   
   Metric name is shown in legend.
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   ![image](https://user-images.githubusercontent.com/74634977/144000668-24cd3025-4bf1-4ffd-834b-c05cb3e09d5d.png)
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Chrome 96
   - superset version: `master`
   - python version: `3.9`
   - node.js version: `14.15.5`
   - any feature flags active:
   
   ### Checklist
   
   Make sure to follow these steps 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.
   
   ### Additional context
   
   This issue is not present in other time-series echarts


-- 
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


[GitHub] [superset] stephenLYZ commented on issue #17586: [mixed time-series] Metric name is shown in legend instead of label

Posted by GitBox <gi...@apache.org>.
stephenLYZ commented on issue #17586:
URL: https://github.com/apache/superset/issues/17586#issuecomment-983770814


   There is a related pr can refer to, https://github.com/apache-superset/superset-ui/pull/1337 is to fix the timeseries chart, the logic is basically the same.


-- 
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


[GitHub] [superset] Yahyakiani commented on issue #17586: [mixed time-series] Metric name is shown in legend instead of label

Posted by GitBox <gi...@apache.org>.
Yahyakiani commented on issue #17586:
URL: https://github.com/apache/superset/issues/17586#issuecomment-983338960


   @junlincc I would like to work on this issue if it's available . Also, any direction regarding this issue would be appreciated. Thanks


-- 
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


[GitHub] [superset] villebro commented on issue #17586: [mixed time-series] Metric name is shown in legend instead of label

Posted by GitBox <gi...@apache.org>.
villebro commented on issue #17586:
URL: https://github.com/apache/superset/issues/17586#issuecomment-985998545


   It sounds like `verbose_name` isn't mapped


-- 
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


[GitHub] [superset] Yahyakiani commented on issue #17586: [mixed time-series] Metric name is shown in legend instead of label

Posted by GitBox <gi...@apache.org>.
Yahyakiani commented on issue #17586:
URL: https://github.com/apache/superset/issues/17586#issuecomment-985386408


   I am unable to reproduce this issue . The custom and default labels seem to be working in this case whenever they are enabled from the legend option. Perhaps I am doing something wrong ? @riahk @zhaoyongjie 
   ![superset](https://user-images.githubusercontent.com/42173629/144583007-735c2337-b587-4d05-84cb-af4113e22b00.PNG)
   


-- 
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


[GitHub] [superset] kamalkeshavani-aiinside commented on issue #17586: [mixed time-series] Metric name is shown in legend instead of label

Posted by GitBox <gi...@apache.org>.
kamalkeshavani-aiinside commented on issue #17586:
URL: https://github.com/apache/superset/issues/17586#issuecomment-985982408


   @Yahyakiani I think you have created a Custom SQL metric from explore view. The issue is with Custom metric, which can be added in Edit Dataset view.


-- 
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


[GitHub] [superset] junlincc commented on issue #17586: [mixed time-series] Metric name is shown in legend instead of label

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #17586:
URL: https://github.com/apache/superset/issues/17586#issuecomment-983745711


   Thank you so much @Yahyakiani could you reach out to @villebro or @riahk in the Slack channel? we can reach out as well.:) 
   


-- 
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


[GitHub] [superset] junlincc commented on issue #17586: [mixed time-series] Metric name is shown in legend instead of label

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #17586:
URL: https://github.com/apache/superset/issues/17586#issuecomment-982893257


   We would love to get a volunteer, it seems to be an easy fix. 
   @zhaoyongjie is the community safe to work on the issue? 


-- 
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


[GitHub] [superset] villebro closed issue #17586: [mixed time-series] Metric name is shown in legend instead of label

Posted by GitBox <gi...@apache.org>.
villebro closed issue #17586:
URL: https://github.com/apache/superset/issues/17586


   


-- 
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


[GitHub] [superset] Yahyakiani commented on issue #17586: [mixed time-series] Metric name is shown in legend instead of label

Posted by GitBox <gi...@apache.org>.
Yahyakiani commented on issue #17586:
URL: https://github.com/apache/superset/issues/17586#issuecomment-986010329


   > @Yahyakiani I think you have created a Custom SQL metric from explore view. The issue is with Custom metric, which can be added in Edit Dataset view.
   
   Thanks I found the issue


-- 
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