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 2022/04/12 01:01:25 UTC

[GitHub] [echarts] 1465707948 opened a new issue, #16868: [Bug] 折线图在使用两个不同源数据时动画会异常

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

   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
         const option = {
           textStyle: {
             color: '#e3e3e3',
           },
           tooltip: {
             trigger: 'axis',
             axisPointer: {
               type: 'cross',
               label: {
                 backgroundColor: '#65cdda',
               },
             },
           },
           grid: {
             top: '10%',
             left: '12%',
             right: '0%',
             bottom: '2%',
           },
           xAxis: {
             type: 'time',
             boundaryGap: [0.05, 0.05],
           },
           yAxis: {
             type: 'value',
             max: function(value) {
               return (value.max * 1.8).toFixed(0)
             },
           },
           series: [
             {
               name: 'pm03',
               type: 'line',
               smooth: true,
               // symbol: 'none',
               label: {
                 show: true,
               },
               areaStyle: {},
               data: this.info2,
             },
           ],
         }
   数据有数据库和MQTT两个来源,初始化完成后先加载数据库,后接收到MQTT数据,开始动态刷新图表
   
   ### Current Behavior
   
   [图一](https://pic.dogimg.com/2022/04/12/6254cd6379333.png)
   
   [图二](https://pic.dogimg.com/2022/04/12/6254cd65655ca.png)
   
   如图,当接受到MQTT数据时动画的上一个点位不在上一个数据点,而是从起始点重新开始
   
   ### Expected Behavior
   
   先从数据库调取数据,然后接受到MQTT数据后,动画加载点因该是上一个数据点,也就是数据最后一个读取的数据,而不是重新从数据库第一个数据点连线到MQTT的第一个数据点
   
   ### Environment
   
   ```markdown
   - OS: win11
   - Browser: Chrome 96.0.4664.55
   - Framework: vue:^2.6.11
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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 "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #16868: [Bug] 折线图在使用两个不同源数据时动画会异常
URL: https://github.com/apache/echarts/issues/16868


-- 
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 "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16868:
URL: https://github.com/apache/echarts/issues/16868#issuecomment-2050543370

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #16868: [Bug] 折线图在使用两个不同源数据时动画会异常

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16868:
URL: https://github.com/apache/echarts/issues/16868#issuecomment-1095755517

   @1465707948 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] Line chart animation is abnormal when using two different source data
   </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 "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16868:
URL: https://github.com/apache/echarts/issues/16868#issuecomment-2067281501

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


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