You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "ChinaID (via GitHub)" <gi...@apache.org> on 2024/07/16 03:55:30 UTC

[I] [Bug] Dynamic Data Issue [echarts]

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

   ### Version
   
   5.5.1
   
   ### Link to Minimal Reproduction
   
   sorry, but there is no available link on public internet 
   
   ### Steps to Reproduce
   
   The data is displayed correctly on the chart if the data is fixed:
   ![3](https://github.com/user-attachments/assets/b4417972-60ae-4894-bba3-58db22519c1e)
   
   
   But the data is displayed incorrectly on the chart if the it is loaded dynamically:
   a), sure the data is same as the fixed one.
   ![1](https://github.com/user-attachments/assets/42a6f3f7-201e-4327-88e5-372e60b38420)
   
   b), but it looks like it did not start from 1 but 2.
   ![2](https://github.com/user-attachments/assets/4eec04f9-2d2c-4383-9ad1-86015d2102a7)
   
   
   
   
   
   ### Current Behavior
   
   The data is displayed incorrectly on the chart if the it is loaded dynamically:
   a), sure the data is same as the fixed one.
   ![1](https://github.com/user-attachments/assets/42a6f3f7-201e-4327-88e5-372e60b38420)
   
   b), but it looks like it did not start from the position 1 but 2.
   ![2](https://github.com/user-attachments/assets/4eec04f9-2d2c-4383-9ad1-86015d2102a7)
   
   
   ### Expected Behavior
   
   Correct display data on the chart whatever the it is fixed or loaded dynamically:
   ![3](https://github.com/user-attachments/assets/b4417972-60ae-4894-bba3-58db22519c1e)
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### 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] Dynamic Data Issue [echarts]

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

   直接把 response 赋给 data 就行,为什么要用 JSON.stringify 序列化为 JSON 字符串呢?data 入参应是一个数组。


-- 
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] Dynamic Data Issue [echarts]

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

   验证有效,非常感谢!


-- 
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] Dynamic Data Issue [echarts]

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

   @ChinaID Please provide a demo for the issue either with [Official Editor](https://echarts.apache.org/examples/editor.html), [CodePen](https://codepen.io/Ovilia/pen/dyYWXWM), [CodeSandbox](https://codesandbox.io/s/echarts-basic-example-template-mpfz1s) or [JSFiddle](https://jsfiddle.net/plainheart/e46ozpqj/7/).


-- 
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] Dynamic Data Issue [echarts]

Posted by "ChinaID (via GitHub)" <gi...@apache.org>.
ChinaID closed issue #20164: [Bug] Dynamic Data Issue
URL: https://github.com/apache/echarts/issues/20164


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