You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2020/12/16 03:17:55 UTC
[incubator-echarts] 01/01: fix(types): add missing `number` type
for line series, resolves #13815.
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch fix-smooth-type
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit 9ca68da1f96c1577b950acc8f31039ac2f6e66c6
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Wed Dec 16 11:16:23 2020 +0800
fix(types): add missing `number` type for line series, resolves #13815.
---
src/chart/line/LineSeries.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chart/line/LineSeries.ts b/src/chart/line/LineSeries.ts
index 9588292..fb50f9c 100644
--- a/src/chart/line/LineSeries.ts
+++ b/src/chart/line/LineSeries.ts
@@ -102,7 +102,7 @@ export interface LineSeriesOption extends SeriesOption<LineStateOption, ExtraSta
step?: false | 'start' | 'end' | 'middle'
- smooth?: boolean
+ smooth?: boolean | number
smoothMonotone?: 'x' | 'y' | 'none'
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org