You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "lfpu (via GitHub)" <gi...@apache.org> on 2026/02/09 07:53:31 UTC

[I] [Bug] 折现显示不正确 [echarts]

lfpu opened a new issue, #21515:
URL: https://github.com/apache/echarts/issues/21515

   ### What problem does this feature solve?
   
   明明没有一个元素超过100 但是显示超过了100!
   
   <img width="1097" height="908" alt="Image" src="https://github.com/user-attachments/assets/91269019-aa00-4bde-b0e8-856f217088fc" />
   
   options:
   
   import * as echarts from 'echarts';
   
   var chartDom = document.getElementById('main');
   var myChart = echarts.init(chartDom);
   var option;
   
   option = {
     title: {
       text: 'System Performance'
     },
     tooltip: {
       trigger: 'axis'
     },
     legend: {
       data: ['CPU', 'Memery', 'GPU 3D', 'GPU Memery']
     },
     grid: {
       left: '3%',
       right: '4%',
       bottom: '3%',
       containLabel: true
     },
     toolbox: {
       feature: {
         saveAsImage: {}
       }
     },
     xAxis: {
       type: 'category',
       boundaryGap: false,
       data: [
         ' 44:55',
         ' 45:02',
         ' 45:08',
         ' 45:15',
         ' 45:21',
         ' 45:28',
         ' 45:34',
         ' 45:41',
         ' 45:47',
         ' 45:54',
         ' 46:00',
         ' 46:06',
         ' 46:13',
         ' 46:19',
         ' 46:26',
         ' 46:32',
         ' 46:38',
         ' 46:45',
         ' 46:51',
         ' 46:58'
       ]
     },
     yAxis: {
       type: 'value'
     },
     series: [
       {
         name: 'CPU',
         type: 'line',
         stack: 'Total',
         data: [
           16, 15, 10, 10, 18, 10, 13, 12, 10, 9, 9, 10, 9, 10, 8, 9, 13, 19, 16,
           16
         ]
       },
       {
         name: 'Memery',
         type: 'line',
         stack: 'Total',
         data: [
           45, 46, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
           45, 45
         ]
       },
       {
         name: 'GPU 3D',
         type: 'line',
         stack: 'Total',
         data: [7, 9, 6, 8, 7, 8, 6, 2, 9, 10, 3, 5, 12, 6, 4, 3, 10, 9, 12, 8]
       },
       {
         name: 'GPU Memery',
         type: 'line',
         stack: 'Total',
         data: [
           80, 80, 80, 80, 81, 80, 81, 80, 81, 81, 81, 81, 81, 81, 81, 81, 81, 80,
           81, 81
         ]
       }
     ]
   };
   
   option && myChart.setOption(option);
   
   
   ### What does the proposed API look like?
   
   显示不正确


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Bug] 折现显示不正确 [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #21515:
URL: https://github.com/apache/echarts/issues/21515#issuecomment-3869922238

   @lfpu Looks like you haven't used English for your query - I've automatically translated the content for you! 😊 To help more people understand your issue and get you faster assistance, we'd suggest using English next time if possible. Thanks for your understanding! 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] Discount display is incorrect
   </details>


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Bug] 折现显示不正确 [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #21515:
URL: https://github.com/apache/echarts/issues/21515#issuecomment-3870049421

   去掉 `stack: 'Total'` 禁用堆叠模式。


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Bug] 折现显示不正确 [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #21515: [Bug] 折现显示不正确
URL: https://github.com/apache/echarts/issues/21515


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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