echarts去除折线图的小点
时间: 2023-09-30 09:10:53 浏览: 93
要去除echarts折线图的小点,可以在option中设置相应的参数。具体的做法是在series中的lineStyle中设置showSymbol为false。例如:
```javascript
option = {
// ...其他配置
series: [{
type: 'line',
data: [1, 2, 3, 4, 5],
lineStyle: {
showSymbol: false
}
}]
};
```
通过将showSymbol设置为false,就可以去除折线图上的小点。<span class="em">1</span>
#### 引用[.reference_title]
- *1* [echarts之折线图配置](https://blog.csdn.net/weixin_29735807/article/details/115958495)[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^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文