You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/08/11 09:59:17 UTC
[GitHub] [incubator-echarts] lin-credible opened a new issue #4556: [优化] type: 'line' & smooth: true 的展示待优化
lin-credible opened a new issue #4556:
URL: https://github.com/apache/incubator-echarts/issues/4556
<!--
为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
-->
#### 问题简述 (One-line summary)
type: 'line' & smooth: true: 一切如图

#### 版本及环境 (Version & Environment)
+ ECharts 版本 (ECharts version): echarts 3
+ 浏览器类型和版本 (Browser version): newest version of firefox & chrome
+ 操作系统类型和版本 (OS Version): windows 10 & OS X EI Captian
#### 重现步骤 (Steps to reproduce)
1. 准备好对应数据即可
y值: 0, 0, 6000, 6000, 6000, 0, 0 ...... 0, 0, 2000, 2000, 2000, 0, 0 (制造这样的波峰波谷即可看到效果)
#### 期望结果 (Expected behaviour)
#### 可能哪里有问题 (What went wrong)
smooth的算法待优化,从当前效果的展示来看,value越大,平滑度越小,但是有时候视图数据量很小,这种误差效果太明显,严重影响体验。
#### ECharts配置项 (ECharts option)
<!-- 下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。
最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing
-->
> 主要看 series
```javascript
option = {
...
series: [
{
type: 'line',
smooth: true,
symbol: 'emptyCircle',
symbolSize: 8,
lineStyle: {
normal: {
width: 2.5,
color: '#4a90e2'
}
},
...
}
]
}
```
#### 其他信息 (Other comments)
<!-- 例如,截图或线上实例 (JSFiddle/JSBin/Codepen) (For example: Screenshot or Online demo) -->
`smooth: true`:

`smooth: false`:

----------------------------------------------------------------
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.
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] [incubator-echarts] stale[bot] commented on issue #4556: [优化] type: 'line' & smooth: true 的展示待优化
Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #4556:
URL: https://github.com/apache/incubator-echarts/issues/4556#issuecomment-671851717
This issue is marked to be `stale` and is going to be closed within a week. If you think it shouldn't be closed, please leave a comment.
----------------------------------------------------------------
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.
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