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/10/21 20:01:46 UTC

[GitHub] [superset] scimas opened a new issue #17190: Line chart and histogram format the group by labels differently

scimas opened a new issue #17190:
URL: https://github.com/apache/superset/issues/17190


   Specifically, histogram seems to replace `-`s (hyphens) in the lables with `_`s (underscores). Which means the same group by labels get different colours in different charts in the same dashboard.
   
   #### How to reproduce the bug
   
   1. Have a column in a dataset with hyphens in the values.
   2. Use said column for Group By in a line chart and in a histogram.
   
   ### Expected results
   
   Both the line chart and histogram create same labels in the legend.
   
   ### Actual results
   
   They don't create the same labels in the legend, histogram seems to replace hyphens with underscores.
   
   #### Screenshots
   Line chart:
   ![image](https://user-images.githubusercontent.com/16473290/138347843-9c312f89-3923-43f6-b06d-4fc5268e1cd6.png)
   
   Histogram:
   ![image](https://user-images.githubusercontent.com/16473290/138347989-3c831880-2921-42ca-8b62-4dbb62f72826.png)
   
   
   ### Environment
   
   - Firefox 93.0:
   - superset version: `1.3.2`
   - python version: `3.7.9`
   
   ### 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.
   - [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 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