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

   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   
https://codesandbox.io/p/sandbox/echarts-demo1-z86j8k?file=%2Fsrc%2Fcomponents%2FDemo5%2FnodesData.js%3A27%2C3
   
   ### Steps to Reproduce
   
   仅提供option配置,详情可打开链接的在线案例,查看**【Demo3】**
   ```js
   {
         xAxis: {
           show: false,
           type: 'value',
           min: 0,
           max: CW,
         },
         yAxis: {
           show: false,
           type: 'value',
           min: 0,
           max: CH,
         },
         series: [
           {
             z: 3,
             draggable: true,
             // 只能缩放
             roam: "scale",
             // 标签
             label: {
               show: true,
               // 定位上方
               position: 'bottom',
               // 字体设置
               color: "black",
               fontWeight: "bold"
             },
             data: json.nodes.map(node => {
               return {
                 value: [node.x, node.y],
                 id: node.id,
                 name: node.name,
                 symbol: node.symbol,
                 symbolSize: node.size,
                 attributes: node.attributes,
                 itemStyle: {
                   color: node.color
                 }
               }
             }),
             edges: json.edges,
             lineStyle: {
               color: 'orange',
               curveness: 0,
               width: 1,
               type: "solid",
             },
             name: '马王堆一号+',
             type: 'graph',
             coordinateSystem: 'cartesian2d',
             symbol: 'circle',
             emphasis: {
               focus: 'adjacency',
             },
           },
           {
             name: '线图',
             type: 'lines',
             // 二维直角坐标系
             coordinateSystem: 'cartesian2d',
             // 箭头动画效果
             effect: {
               show: true,
               trailLength: 0,
               symbol: 'circle',
               color: 'red',
               symbolSize: 6,
               // period: 3,
               constantSpeed: 60,
             },
             z: 1,
             data: json.linesData
           },
         ]
       }
   ```
   
   ### Current Behavior
   
   开发版本
   series: [{ type: 'graph', emphasis: { focus: 'adjacency' }}, { type: 'lines' 
}]
   同时使用就报错且页面崩溃
   
   ### Expected Behavior
   
   页面不崩溃即可
   
   ### Environment
   
   ```markdown
   - OS:Windows
   - Browser:Edge
   - Framework:React
   ```
   
   
   ### 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-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to