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/07/23 06:31:42 UTC

[GitHub] [incubator-echarts] ligaofeng0901 opened a new issue #13009: 柱状图showBackground改变触发bug

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


   ### Version
   4.8.0
   
   ### Reproduction link
   [https://echarts.apache.org/examples/zh/editor.html?c=bar-background](https://echarts.apache.org/examples/zh/editor.html?c=bar-background)
   
   ### Steps to reproduce
   showBackground为空或为false的情况下,修改为true再setOption,会导致图表crash。
   可在示例中先将showBackground修改为false,再修改为true,控制台报错。
   
   ```
   
   TypeError: Cannot read property 'useStyle' of undefined
       at kf._update (echarts.min.js?_v_=1595472244966:22)
       at kf.execute (echarts.min.js?_v_=1595472244966:22)
       at e._renderNormal (echarts.min.js?_v_=1595472244966:22)
       at e.render (echarts.min.js?_v_=1595472244966:22)
       at jh.progress (echarts.min.js?_v_=1595472244966:22)
       at ac (echarts.min.js?_v_=1595472244966:22)
       at jh.qh.perform (echarts.min.js?_v_=1595472244966:22)
       at echarts.min.js?_v_=1595472244966:22
       at e.<anonymous> (echarts.min.js?_v_=1595472244966:22)
       at Array.forEach (<anonymous>)
   ```
   
   ```
   TypeError: Cannot read property 'useStyle' of undefined
       at DataDiffer._update (BarView.js:201)
       at DataDiffer.execute (DataDiffer.js:112)
       at ExtendedClass._renderNormal (BarView.js:251)
       at ExtendedClass.render (BarView.js:109)
       at Task.progress (Chart.js:281)
       at doProgress (task.js:217)
       at Task.push../node_modules/echarts/lib/stream/task.js.taskProto.perform (task.js:157)
       at echarts.js:1474
   
   ```
   
   ### What is expected?
   正常显示柱子背景
   
   ### What is actually happening?
   图表报错。
   
   <!-- This issue is generated by echarts-issue-helper. 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] plainheart closed issue #13009: 柱状图showBackground改变触发bug

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


   


----------------------------------------------------------------
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 #13009: 柱状图showBackground改变触发bug

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


   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


[GitHub] [incubator-echarts] plainheart commented on issue #13009: 柱状图showBackground改变触发bug

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


   Thanks for reporting, it seems to be bug.


----------------------------------------------------------------
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] plainheart edited a comment on issue #13009: 柱状图showBackground改变触发bug

Posted by GitBox <gi...@apache.org>.
plainheart edited a comment on issue #13009:
URL: https://github.com/apache/incubator-echarts/issues/13009#issuecomment-664131801


   Thanks for reporting, it seems to be a bug.


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