echarts的legend圆形设置为实心
时间: 2023-09-21 21:09:48 浏览: 299
回答: 要将echarts的legend圆形设置为实心,可以通过修改图例的symbol属性为'circle'来实现。在代码中,可以将图例的icon属性设置为'circle',这样图例的图标形状就会变为实心圆。例如,在给定的代码中,可以将legend中的icon属性修改为"circle",就可以将图例的图标形状改为实心圆。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [echart legend 默认样式设置成实心圆](https://blog.csdn.net/weixin_43493402/article/details/119596664)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [echarts中配置图例形状、图标宽高、图标和文字间距、图例位置、文字颜色、字体大小等基础配置](https://blog.csdn.net/Maxueyingying/article/details/128476459)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文