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/03/02 22:04:54 UTC

[GitHub] [incubator-echarts] 100pah edited a comment on issue #12221: Cannot read property 'traverse' of undefined when drawing custom chart

100pah edited a comment on issue #12221: Cannot read property 'traverse' of undefined when drawing custom chart
URL: https://github.com/apache/incubator-echarts/issues/12221#issuecomment-593645599
 
 
   The minimal `option` to reproduce this issue:
   
   ```js
   
   option = {
       yAxis: {
       },
       xAxis: {
       },
       series: [{
           type: 'custom',
           renderItem: function () {},     // the renderItem return nothing.
           progressiveThreshold: 1,       // Enable progressive when data item count > 1
           data: [[123, 456], [654, 321]] // data item count is 2
       }]
   };
   ````
   "`renderItem` is able to returns nothing" is a feature. It should be supported when progressive rendering enabled, rather than throw null pointer exception.
   The bug need to be fixed.

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