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/09/05 01:52:35 UTC
[GitHub] [echarts] love123724 opened a new issue, #17613: [Bug] An error is reported when series is added to the option configuration item
love123724 opened a new issue, #17613:
URL: https://github.com/apache/echarts/issues/17613
### Version
5.0.0-rc.1
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
class SankeyChart extends React.Component{
init = (props)=>{
let {nodes, links} = props;
const options = {
series:{
type:"sankey",
data:nodes,
links:links
}
}
let chart = echarts.init(this.sankeyId);
chart.setOption(options);
window.onresize = function(){
chart.resize()
}
}
componentDidMount(){
this.initChart(this.props.data)
}
render(){
return (
<div ref={sankeyId=>this.sankeyId = sankeyId}></div>
)
}
}
data = {
nodes:{
{name:"123123"},
{name:"userName0"},
{name:"userName1"},
{name:"userName2"}
},
links:{
{source:"123123",target:"userName0",value:19},
{source:"123123",target:"userName1",value:19}
{source:"123123",target:"userName2",value:19}
}
}
### Current Behavior
An error is reported when series is added to the option configuration item
Uncaught TypeError: cannot read property ' CHANGABLE_METHODS' of undefined
### Expected Behavior
normal use
### Environment
```markdown
- OS:
- Browser:all browsers versions
- Framework:react16.6.0
```
### 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
[GitHub] [echarts] love123724 commented on issue #17613: [Bug] An error is reported when series is added to the option configuration item
Posted by GitBox <gi...@apache.org>.
love123724 commented on issue #17613:
URL: https://github.com/apache/echarts/issues/17613#issuecomment-1236486012
i have aleady resloved this problem, my componentDidUpdata functions code was wrong
--
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] love123724 commented on issue #17613: [Bug] An error is reported when series is added to the option configuration item
Posted by GitBox <gi...@apache.org>.
love123724 commented on issue #17613:
URL: https://github.com/apache/echarts/issues/17613#issuecomment-1236495568
i have aleady resolved this problem, the reason is that my componentDidUpdate function has wrong logic code
--
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 #17613: [Bug]
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17613:
URL: https://github.com/apache/echarts/issues/17613#issuecomment-1236473112
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
[GitHub] [echarts] echarts-bot[bot] closed issue #17613: [Bug]
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #17613: [Bug]
URL: https://github.com/apache/echarts/issues/17613
--
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] love123724 closed issue #17613: [Bug] An error is reported when series is added to the option configuration item
Posted by GitBox <gi...@apache.org>.
love123724 closed issue #17613: [Bug] An error is reported when series is added to the option configuration item
URL: https://github.com/apache/echarts/issues/17613
--
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