You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/04/14 11:10:08 UTC

[GitHub] [incubator-echarts] Paladinhanxiao opened a new issue #12438: Stacked bar chart x-axis data display is incomplete

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] yufeng04 commented on issue #12438: Stacked bar chart x-axis data display is incomplete

Posted by GitBox <gi...@apache.org>.
yufeng04 commented on issue #12438: Stacked bar chart x-axis data display is incomplete
URL: https://github.com/apache/incubator-echarts/issues/12438#issuecomment-613484807
 
 
   You should set the `data` when you set the `yAxis.type: category`. 
   [DOC LINK](https://www.echartsjs.com/zh/option.html#yAxis.type)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] yufeng04 commented on issue #12438: Stacked bar chart x-axis data display is incomplete

Posted by GitBox <gi...@apache.org>.
yufeng04 commented on issue #12438: Stacked bar chart x-axis data display is incomplete
URL: https://github.com/apache/incubator-echarts/issues/12438#issuecomment-613771186
 
 
   Sorry, I didn't make it clear. I mean, set the `yAxis.data` with this [demo](https://gallery.echartsjs.com/editor.html?c=x2AGYJQTRI&v=1)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Paladinhanxiao closed issue #12438: Stacked bar chart x-axis data display is incomplete

Posted by GitBox <gi...@apache.org>.
Paladinhanxiao closed issue #12438: Stacked bar chart x-axis data display is incomplete
URL: https://github.com/apache/incubator-echarts/issues/12438
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12438: Stacked bar chart x-axis data display is incomplete

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12438: Stacked bar chart x-axis data display is incomplete
URL: https://github.com/apache/incubator-echarts/issues/12438#issuecomment-613377859
 
 
   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Paladinhanxiao commented on issue #12438: Stacked bar chart x-axis data display is incomplete

Posted by GitBox <gi...@apache.org>.
Paladinhanxiao commented on issue #12438: Stacked bar chart x-axis data display is incomplete
URL: https://github.com/apache/incubator-echarts/issues/12438#issuecomment-613516621
 
 
   > You should set the `data` when you set the `yAxis.type: category`.
   > [DOC LINK](https://www.echartsjs.com/zh/option.html#yAxis.type)
   
   I tried the way you said, but this is not the result I want。[look that,](https://gallery.echartsjs.com/editor.html?c=xeVmSx6aNp&v=1)  ,I need to stack bar charts,look like Horizontal progress bar.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org