You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "bhlinsi (via GitHub)" <gi...@apache.org> on 2023/06/07 09:30:02 UTC

[GitHub] [echarts] bhlinsi opened a new issue, #18723: [Feature] Example settings for independent styles of connecting lines and spacing of final nodes

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

   ### What problem does this feature solve?
   
   1、The Connect Line between parnetnode and childnode can set independent style,for example the color ,the imgIcon display on the line; 
   2、when we use the treeCharts during our develope,we fond that the childNode can't set the spacing between the same level ,this troubled us,for the question ,I use a pic under this;
   ![image](https://github.com/apache/echarts/assets/60908273/8055e7de-13da-4378-b4fc-600476caed1d)
   
   
   ### What does the proposed API look like?
   
   children: [
           {
             name: '在线充电桩数量 \r\n 5478',
             label: {
               backgroundColor: {
                 image:
                   'https://img0.baidu.com/it/u=1812853632,3094535397&fm=253&fmt=auto?w=120&h=80'
               },
               height: '50',
               width: '200',
               fontSize: 18,
               color: '#fff'
             },
             lineStyle:{
               color:'red',
               image:'../image1.png'
             },
           },
           {
             name: '离线充电桩数量 \r\n 651',
             label: {
               backgroundColor: {
                 image:
                   'https://bpic.51yuansu.com/pic/cover/00/19/08/57b66515916c6_610.jpg'
               },
               height: '50',
               width: '200',
               fontSize: 18,
               color: '#fff'
             },
             lineStyle:{
               color:'green',
               image:'../image2.png'
             },
           }


-- 
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] helgasoft commented on issue #18723: [Feature] Example settings for independent styles of connecting lines and spacing of final nodes

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

   > The Connect Line between parnetnode and childnode can set independent style,for example the color 
   
   discussed in #18318


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