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/09/29 08:51:58 UTC

[GitHub] [incubator-echarts] pingf opened a new issue #13368: chart freezes after serveral clicks of buttons in toolbox

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


   ### Version
   5.0.0-alpha.2
   
   ### Steps to reproduce
   in recent next version,  follow the sequences of clicks of buttons in toolbox freeze the chart
   1. click stack view button
   2. click line view button
   3. click the stack(tiled now) button
   4. now it is freezed
   
   the magic type options are:
   ```js
   magicType: {
                       show: true,
                       type: ['line', 'bar', 'stack'],
                       title: {
                           line: 'line view',
                           bar: 'bar view',
                           stack: 'stack view',
                           tiled: 'tiled view',
                       },
                   },
   ```
   1
   ![image](https://user-images.githubusercontent.com/375315/94535196-d9975400-0273-11eb-91d1-f04c0cef386b.png)
   2
   ![image](https://user-images.githubusercontent.com/375315/94535203-ddc37180-0273-11eb-91a5-fedd52e6c60d.png)
   3
   ![image](https://user-images.githubusercontent.com/375315/94535213-e1ef8f00-0273-11eb-88ff-4d1938d8e3ee.png)
   4
   ![image](https://user-images.githubusercontent.com/375315/94535225-e5831600-0273-11eb-9a1c-264a8db69508.png)
   
   ### What is expected?
   chart as normal
   
   ### What is actually happening?
   chart freezed!
   
   <!-- 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] pissang edited a comment on issue #13368: chart freezed after serveral clicks of buttons in toolbox

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


   Hi @pingf , seems I can't reproduce this issue in my example. Can you provide a full option?


----------------------------------------------------------------
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] pingf commented on issue #13368: chart freezed after serveral clicks of buttons in toolbox

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


   ```html
   <html lang="en">
   <head>
       <meta charset="utf-8">
       <title>Using ECharts</title>
   </head>
   
   <body>
   <!-- 为ECharts准备一个具备大小的Dom-->
   <div>
   hello world
   </div>
   <div id="barChart" style="height:500px;border:1px solid #ccc;padding:10px;"></div>
   
   
   </body>
   <!--引入echarts. Using echarts-all.js for convenience -->
   <!-- CDN is taken from https://cdnjs.com/libraries/echarts -->
   
   <script src="./echarts.js"></script>
   <script>
   
       /* Bar Chart */
   
       var myBarChart = echarts.init(document.getElementById('barChart'));
   
       var barChartOption = {
           title: {
               text: '某地区蒸发量和降水量',
               subtext: '纯属虚构'
           },
           tooltip: {
               trigger: 'axis'
           },
           legend: {
               data: ['2014', '2015']
           },
           toolbox: {
               show: true,
               feature: {
                   mark: {
                       show: true
                   },
                   dataView: {
                       show: true,
                       readOnly: false
                   },
                   magicType: {
                       show: true,
                       type: ['line', 'bar', 'stack'],
                       title: {
                           line: 'line view',
                           bar: 'bar view',
                           stack: 'stack view',
                           tiled: 'tiled view',
                       },
                   },
                   restore: {
                       show: true
                   },
                   saveAsImage: {
                       show: true
                   }
               }
           },
           calculable: true,
           xAxis: [{
               type: 'category',
               data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
           }],
           yAxis: [{
               type: 'value'
           }],
           series: [{
               name: '2014',
               type: 'bar',
               data: [2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3],
           }, {
               name: '2015',
               type: 'bar',
               data: [2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3],
           }]
       };
   
       myBarChart.setOption(barChartOption);
   
   </script>
   </html>
   ```
   
   


----------------------------------------------------------------
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] pingf commented on issue #13368: chart freezed after serveral clicks of buttons in toolbox

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


   ![image](https://user-images.githubusercontent.com/375315/94586606-066b5b80-02b4-11eb-9b0a-6921ac2606c1.png)
   and from the console, the error shows as above


----------------------------------------------------------------
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] pissang commented on issue #13368: chart freezed after serveral clicks of buttons in toolbox

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


   Hi @pingf , seems I can't reproduce this issue in my example. Can you provide full option?


----------------------------------------------------------------
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] pissang commented on issue #13368: chart freezed after serveral clicks of buttons in toolbox

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


   @pingf I can reproduce it now:) Will fix it soon


----------------------------------------------------------------
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] pingf commented on issue #13368: chart freezed after serveral clicks of buttons in toolbox

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


   and I've tested it again, the steps to reproduce this is simple(at least on my local machine)
   1. click the line view button
   2. click the stack view button
   and now it freezes


----------------------------------------------------------------
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 #13368: chart freezed after serveral clicks of buttons in toolbox

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


   Hi, I can't also reproduce it in this example https://gallery.echartsjs.com/editor.html?c=xb8NHHc3TB&v=1, is there anything missing?


----------------------------------------------------------------
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 #13368: chart freezes after serveral clicks of buttons in toolbox

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


   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] pingf commented on issue #13368: chart freezed after serveral clicks of buttons in toolbox

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


   well, it seems it only shows on my dev environment.
   I use the latest code 
   echarts (next branch)
   zrender (next branch)


----------------------------------------------------------------
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] pissang edited a comment on issue #13368: chart freezed after serveral clicks of buttons in toolbox

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


   Hi @pingf , seems I can't reproduce this issue in my example. Can you provide a full option? Thanks a lot!


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