Jayesh23 opened a new issue #12407: Graph options : TypeError: el is undefined
URL: https://github.com/apache/incubator-echarts/issues/12407
 
 
   ### Version
   4.7.0
   
   ### Steps to reproduce
   import ReactEchartsCore from "echarts-for-react/lib/core";
   
   <ReactEchartsCore
                                                        ref={refRef}
                                                        echarts={echarts}
                                                        style={{ height: 
"100vh", left: 0, top: 0, width: "100%" }}
                                                        option={/* a function 
which returns an Echarts option to generate a timseries graph */}
                                                        onEvents={{
                                                                click: 
propertyTable,
                                                                // contextmenu: 
Playground
                                                        }}
                                                />
   When i try to set series.fixed : true
   i get an error :- TypeError: el is undefined
   
   its working fine when fixed is set to false.
   
   However when i push the output of the code manually to the ReactEchartsCore 
option it renders the graph, 
   I have cross checked by replacing the option in the apache echarts site also 
it renders the graph there as well.
   
   ### What is expected?
   A timeseries graph i.e i have a let's say data of 10 timestamps and for each 
timestamp i have data for 11 nodes, i just want to fix the position of all the 
nodes for each time stamp.
   
   ### What is actually happening?
   Not able to get the timeseries graph when trying to directly pass option 
through a function to the ReactEchartsCore option.
   
   <!-- 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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to