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 2023/01/10 10:14:04 UTC
[GitHub] [echarts] hansott opened a new issue, #18159: [Bug]
hansott opened a new issue, #18159:
URL: https://github.com/apache/echarts/issues/18159
### Version
5.4.1
### Link to Minimal Reproduction
https://codesandbox.io/s/new-hill-2jexmu
### Steps to Reproduce
```js
{
"legend": {
"show": false
},
"series": [
{
"name": "Api Key",
"type": "pie",
"radius": [
"60%",
"80%"
],
"avoidLabelOverlap": false,
"itemStyle": {
"borderRadius": 0,
"borderColor": "#fff",
"borderWidth": 1
},
"emphasis": {
"disabled": true
},
"cursor": "auto",
"label": {
"show": false
},
"markPoint": {
"tooltip": {
"show": false
},
"label": {
"show": true,
"formatter": "{b}",
"color": "#102a43",
"fontSize": 14,
"fontWeight": "bold"
},
"data": [
{
"name": "0%",
"value": "-",
"symbol": "circle",
"itemStyle": {
"color": "transparent"
},
"x": "50%",
"y": "50%"
}
]
},
"data": [
{
"name": "With value",
"value": 0,
"itemStyle": {
"color": "#48BB78"
}
},
{
"name": "Without value",
"value": 1,
"itemStyle": {
"color": "#9fb3c8"
}
}
],
"animationDuration": 0,
"animationDurationUpdate": 0
}
]
}
```
### Current Behavior
```
TypeError: Cannot read properties of undefined (reading 'dimensions')
at dataTransform (markerHelper.js:51:23)
at eval (util.js:336:17)
at Array.map (<anonymous>)
at map (util.js:257:16)
at createData (MarkPointView.js:138:44)
at MarkPointView.renderSeries (MarkPointView.js:68:18)
at eval (MarkerView.js:32:28)
at GlobalModel.eval (Global.js:412:10)
at Array.forEach (<anonymous>)
at each (util.js:236:9)
at GlobalModel.eachSeries (Global.js:410:33)
at MarkerView.render (MarkerView.js:30:13)
at eval (echarts.js:1337:23)
at Array.forEach (<anonymous>)
at each (util.js:236:9)
at renderComponents (echarts.js:1334:35)
at render (echarts.js:1322:7)
at ECharts.update (echarts.js:1004:9)
at ECharts.setOption (echarts.js:369:30)
at $csb$eval (index.js? [sm]:6:7)
at H (eval.js:31:28)
at K.evaluate (transpiled-module.js:713:29)
at ge.evaluateTranspiledModule (manager.js:340:33)
at c (transpiled-module.js:695:31)
at loadResources (index.html:3:2)
at $csb$eval (index.html:9:3)
at H (eval.js:31:28)
at K.evaluate (transpiled-module.js:713:29)
at ge.evaluateTranspiledModule (manager.js:340:33)
at ge.evaluateModule (manager.js:311:34)
at compile.ts:765:31
at c (runtime.js:45:40)
at Generator._invoke (runtime.js:274:22)
at forEach.t.<computed> [as next] (runtime.js:97:21)
at e (asyncToGenerator.js:3:20)
at a (asyncToGenerator.js:25:9)
```
### Expected Behavior
It doesn't crash
### Environment
```markdown
- OS: macOS Monterey
- Browser: Chrome 108.0.5359.124
- Framework: React
```
### Any additional comments?
Updated from 5.4.0 to 5.4.1 and then the crash occurred
--
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
[GitHub] [echarts] echarts-bot[bot] commented on issue #18159: [Bug]
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #18159:
URL: https://github.com/apache/echarts/issues/18159#issuecomment-1377022878
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
Re: [I] [Bug] Cannot read properties of undefined (reading 'dimensions') [echarts]
Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #18159: [Bug] Cannot read properties of undefined (reading 'dimensions')
URL: https://github.com/apache/echarts/issues/18159
--
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 #18159: [Bug]
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #18159: [Bug]
URL: https://github.com/apache/echarts/issues/18159
--
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] marnunez commented on issue #18159: [Bug] Cannot read properties of undefined (reading 'dimensions')
Posted by "marnunez (via GitHub)" <gi...@apache.org>.
marnunez commented on issue #18159:
URL: https://github.com/apache/echarts/issues/18159#issuecomment-1443897720
Actually no. Apparently, the pie chart we created has no `coordinateSystem` defined, so it can't get its dimensions
--
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] wozien commented on issue #18159: [Bug] Cannot read properties of undefined (reading 'dimensions')
Posted by "wozien (via GitHub)" <gi...@apache.org>.
wozien commented on issue #18159:
URL: https://github.com/apache/echarts/issues/18159#issuecomment-1547296003
Same issue.
--
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
Re: [I] [Bug] Cannot read properties of undefined (reading 'dimensions') [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18159:
URL: https://github.com/apache/echarts/issues/18159#issuecomment-1794194939
Given that it is limited to an older version 5.4.1, is this issue still relevant ?
--
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] marnunez commented on issue #18159: [Bug] Cannot read properties of undefined (reading 'dimensions')
Posted by "marnunez (via GitHub)" <gi...@apache.org>.
marnunez commented on issue #18159:
URL: https://github.com/apache/echarts/issues/18159#issuecomment-1443874748
Same issue here. I think it has to do with the fact that neither of us is using datasets
--
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