echarts柱状图粗细
时间: 2023-10-10 17:10:28 浏览: 170
要改变Echarts柱状图的柱子的粗细,你可以使用`barWidth`配置项来调整。在你的`option`配置中,找到`series`下的`bar`对象,然后设置`barWidth`的值为你想要的粗细,单位是像素。例如,如果你想要柱子更粗一些,可以将`barWidth`的值设置为大于17的数字,如20或30。这样就可以改变Echarts柱状图的柱子粗细了。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [echarts 柱状图渐变色背景](https://download.csdn.net/download/qq_36437172/12418565)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [在 Echerts 中设置柱状图的粗细](https://blog.csdn.net/m0_64564920/article/details/124363930)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文