Paladinhanxiao opened a new issue #12438: Stacked bar chart x-axis data display 
is incomplete
URL: https://github.com/apache/incubator-echarts/issues/12438
 
 
   ### Version
   4.7.0
   
   ### Reproduction link
   
[https://gallery.echartsjs.com/editor.html?c=x2AGYJQTRI&v=1](https://gallery.echartsjs.com/editor.html?c=x2AGYJQTRI&v=1)
   
   ### Steps to reproduce
   The data in series is not displayed intact.
   When I adjust the data in the series, such as deleting the following data
   ```
   {
               "type": "bar",
               "stack": "总量",
               "label": {
                   "name": "未工作",
                   "show": false,
                   "position": "top",
                   "formatter": "未工作641.23分钟"
               },
               "itemStyle": {
                   "color": "#a0aec0"
               },
               "data": [{
                   "name": "未工作",
                   "value": 641.23,
                   "type": "未工作"
               }]
           },
           {
               "type": "bar",
               "stack": "总量",
               "label": {
                   "name": "2020-04-14 10:41:14-2020-04-14 10:43:00",
                   "show": false,
                   "position": "top",
                   "formatter": "工作2.00分钟"
               },
               "itemStyle": {
                   "color": "#63b3ed"
               },
               "data": [{
                   "name": "2020-04-14 10:41:14-2020-04-14 10:43:00",
                   "value": 2,
                   "type": "工作"
               }]
           },
           {
               "type": "bar",
               "stack": "总量",
               "label": {
                   "name": "未工作",
                   "show": false,
                   "position": "top",
                   "formatter": "未工作1.00分钟"
               },
               "itemStyle": {
                   "color": "#a0aec0"
               },
               "data": [{
                   "name": "未工作",
                   "value": 1,
                   "type": "未工作"
               }]
           },
           {
               "type": "bar",
               "stack": "总量",
               "label": {
                   "name": "2020-04-14 10:43:09-2020-04-14 11:03:27",
                   "show": false,
                   "position": "top",
                   "formatter": "工作20.00分钟"
               },
               "itemStyle": {
                   "color": "#63b3ed"
               },
               "data": [{
                   "name": "2020-04-14 10:43:09-2020-04-14 11:03:27",
                   "value": 20,
                   "type": "工作"
               }]
           },
           {
               "type": "bar",
               "stack": "总量",
               "label": {
                   "name": "未工作",
                   "show": false,
                   "position": "top",
                   "formatter": "未工作227.00分钟"
               },
               "itemStyle": {
                   "color": "#a0aec0"
               },
               "data": [{
                   "name": "未工作",
                   "value": 227,
                   "type": "未工作"
               }]
           },
   ```
   The data displayed in the chart will show a lot, but it still does not show 
the complete
   
   ### What is expected?
   The data in the series is shown complete
   
   ### What is actually happening?
   The data in the series is shown complete
   
   ---
   Extra question: How do I make the x-axis display a 24-hour period?
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to