matlab让legend横着排,echarts画一个饼图, orient: 'horizontal',图例横向排列,当图例比较多时,如何在第二排让图标一一对齐?...

编程入门 行业动态 更新时间:2024-10-28 01:15:51

matlab让legend横着排,echarts画一个饼图, orient: 'horizontal',<a href=https://www.elefans.com/category/jswz/34/1767451.html style=图例横向排列,当图例比较多时,如何在第二排让图标一一对齐?..."/>

matlab让legend横着排,echarts画一个饼图, orient: 'horizontal',图例横向排列,当图例比较多时,如何在第二排让图标一一对齐?...

饼图图例横向排列时,换行了如何让图标一一对齐?

直接上图,

第二行的第二个图标就没和上一行的图标对齐。求大神指点!

代码:

legend:{

show: true,

type: 'plain',

itemGap: 10,

bottom: '5%',

orient: 'horizontal',

data:[

{

name: '无抵押',

icon: 'circle',

textStyle:{

color: 'black'

}

},

{

name: '有抵押',

icon: 'circle',

textStyle:{

color: 'black'

}

},

{

name: '宝单保',

icon: 'circle',

textStyle:{

color: 'black'

}

},

{

name: '万商贷',

icon: 'circle',

textStyle:{

color: 'black'

}

},

{

name: 'O2O',

icon: 'circle',

textStyle:{

color: 'black'

}

},{

name: 'O2O1666',

icon: 'circle',

textStyle:{

color: 'black'

}

},{

name: 'O2O25665',

icon: 'circle',

textStyle:{

color: 'black'

}

},

{

name: '直销',

icon: 'circle',

textStyle:{

color: 'black'

}

}

]

},

更多推荐

matlab让legend横着排,echarts画一个饼图, orient: 'horizontal',图例横向排列,当图例比较多时,如何在

本文发布于:2023-06-20 23:59:09,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/808896.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:图例   横向   图标   画一   排列

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!