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 2022/07/04 17:50:02 UTC

[GitHub] [echarts] jzyismylover opened a new issue, #17315: [Bug]

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

   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   `export const option = {
     toolbox: {
       feature: {
         show: true,
         magicType: {
           type: ['line', 'bar']
         },  //切换为折线图,切换为柱状图
         restore: {},  //还原
         saveAsImage: {}   //保存为图片
       }
     },
     xAxis: {
       type: 'category',
       data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
     },
     yAxis: {
       type: 'value'
     },
     series: [
       {
         data: [150, 230, 224, 218, 135, 147, 260],
         type: 'line'
       }
     ]
   };`
   
   Just use this setting and in .vue file use setOption(option) but throw Error 
   
   ### Current Behavior
   
   BarView.js:148 Uncaught TypeError: Cannot read properties of undefined (reading 'getBaseAxis')
       at BarView2._renderNormal (BarView.js:148:26)
       at BarView2.render (BarView.js:112:79)
       at Task2.progress (Chart.js:196:20)
       at Task2._doProgress (task.js:187:10)
       at Task2.perform (task.js:153:16)
       at echarts.js:1694:24
       at GlobalModel2.<anonymous> (Global.js:636:10)
       at Array.forEach (<anonymous>)
       at each (util.js:207:13)
       at GlobalModel2.eachSeries (Global.js:633:5)
   
   ### Expected Behavior
   
   change line chart to bar chart using toolbox
   
   ### Environment
   
   ```markdown
   - OS: windows 
   - Browser: Chrome 96.0.4664.55
   - Framework: Vue@3 + TypeScript
   ```
   
   
   ### 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] [echarts]

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

   Hi there, I got same problem too, it happend when first loaded and resize after. And Finally solved it with markRaw (vue api).
   
   `markRaw(echarts.init(el))`
   


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


[GitHub] [echarts] echarts-bot[bot] closed issue #17315: [Bug]

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #17315: [Bug] 
URL: https://github.com/apache/echarts/issues/17315


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


[GitHub] [echarts] Jxiang-jc commented on issue #17315: [Bug]

Posted by GitBox <gi...@apache.org>.
Jxiang-jc commented on issue #17315:
URL: https://github.com/apache/echarts/issues/17315#issuecomment-1186163205

   我也遇到一样的问题,请问你解决了吗?


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #17315: [Bug]

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

   I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
   
   Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
   
   A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
   
   Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.


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