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/07/14 04:09:52 UTC

[GitHub] [superset] kamalkeshavani-aiinside opened a new issue #15674: [mixed time-series] extra x-axis labels

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


   When creating the chart with only 1-2 bars on x-axis, some unnecessary x-axis labels are displayed.
   
   ### Expected results
   
   Number of x-axis labels should be same as number of data points.
   
   ### Actual results
   
   Excessive x-axis labels are displayed.
   
   #### Screenshots
   
   ![image](https://user-images.githubusercontent.com/74634977/125559617-5a9ee615-081b-48e3-9a0b-8ba4c29e5154.png)
   
   ![image](https://user-images.githubusercontent.com/74634977/125559703-2ca06b50-de0b-4b0a-9c19-77798c17dde3.png)
   
   
   #### How to reproduce the bug
   
   1. Create a Mixed Time-series chart with limited number of points on x-axis
   
   ### Environment
   
   - superset version: `1.2`
   - python version: `3.7`
   - node.js version: `v14.15.5`
   
   ### 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
   
   Add any other context about the problem here.
   


-- 
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 #15674: [mixed time-series] extra x-axis labels

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


   > some unnecessary x-axis labels are displayed.
   
   you mean these? what time grain did you set for the bar? 
   ![125559617-5a9ee615-081b-48e3-9a0b-8ba4c29e5154](https://user-images.githubusercontent.com/67837651/125705285-9dc62a0f-64c2-4f02-a752-ee4de798ed0d.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] junlincc commented on issue #15674: [mixed time-series] extra x-axis labels

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


   Got it, this is a limitation from Echarts, the charting library we use. unfortunately there's no easy way to resolve ATM. apologies🙏


-- 
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 #15674: [mixed time-series] extra x-axis labels

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


   Yes, this was with Time grain 'month'. I updated the original comment with this info.


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