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/10/17 15:09:43 UTC

[GitHub] [incubator-echarts] msl12 opened a new issue #13447: show "Cannot read property 'coord' of undefined" error when I use "line" and visualMap

msl12 opened a new issue #13447:
URL: https://github.com/apache/incubator-echarts/issues/13447


   ### Version
   4.9.0
   
   ### Steps to reproduce
   var chart = echarts.init(document.getElementById("line-block-wrapper"));
               var data = [
                   [1602513974000, 0.5],
                   [1602600374000, 0.6],
                   [1602686774000, 0.7],
                   [1602773174000, 0.9],
               ];
               var option = {
                   series: [{
                           type: "line",
                           data: data
                   }],
                   xAxis: {
                       type: "time"
                   },
                   yAxis: {},
                   visualMap: {
                           type: 'piecewise',
                           pieces: [{
                               lte: 1602600374000,
                               color: "blue",
                               label: "bbbb"
                           }, {
                               ge: 1602600374000,
                               color: "#c23531",
                               label: "cccc"
                           }]
                       }
               };
               chart.setOption(option);
   
   ### What is expected?
   running successfully.
   
   ### What is actually happening?
   Uncaught TypeError: Cannot read property 'coord' of undefined
       at echarts.min.js:1
       at e.render (echarts.min.js:1)
       at jh.progress (echarts.min.js:1)
       at ac (echarts.min.js:1)
       at jh.qh.perform (echarts.min.js:1)
       at echarts.min.js:1
       at e.<anonymous> (echarts.min.js:1)
       at Array.forEach (<anonymous>)
       at E (echarts.min.js:1)
       at eachSeries (echarts.min.js:1)
   
   <!-- 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



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


[GitHub] [incubator-echarts] Ovilia closed issue #13447: show "Cannot read property 'coord' of undefined" error when I use "line" and visualMap

Posted by GitBox <gi...@apache.org>.
Ovilia closed issue #13447:
URL: https://github.com/apache/incubator-echarts/issues/13447


   


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



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


[GitHub] [incubator-echarts] susiwen8 commented on issue #13447: show "Cannot read property 'coord' of undefined" error when I use "line" and visualMap

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #13447:
URL: https://github.com/apache/incubator-echarts/issues/13447#issuecomment-711028957


   Might be the same problem with #5801 and #12374


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



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


[GitHub] [incubator-echarts] msl12 commented on issue #13447: show "Cannot read property 'coord' of undefined" error when I use "line" and visualMap

Posted by GitBox <gi...@apache.org>.
msl12 commented on issue #13447:
URL: https://github.com/apache/incubator-echarts/issues/13447#issuecomment-711046148


   > Might be the same problem with #5801 and #12374
   
   Oh, I see. Thank you!


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



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


[GitHub] [incubator-echarts] msl12 commented on issue #13447: show "Cannot read property 'coord' of undefined" error when I use "line" and visualMap

Posted by GitBox <gi...@apache.org>.
msl12 commented on issue #13447:
URL: https://github.com/apache/incubator-echarts/issues/13447#issuecomment-711027254


   Did I write something wrong in this JavaScript code?


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



---------------------------------------------------------------------
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 #13447: show "Cannot read property 'coord' of undefined" error when I use "line" and visualMap

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


   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



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