From 7a03eb0421a695d22aba98fa41d6cd1ad334771c Mon Sep 17 00:00:00 2001 From: iugo Date: Sat, 8 Sep 2018 11:07:15 +0800 Subject: [PATCH] Update Charts/MiniArea props type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 实测, 字符串应该没有问题. https://github.com/alibaba/BizCharts/blob/74e8bcfd18aa936abdbb6af9fc591f45b3a1f2c2/doc/tutorial/data.md --- src/components/Charts/MiniArea/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Charts/MiniArea/index.d.ts b/src/components/Charts/MiniArea/index.d.ts index 2bcac70c..b223b68c 100644 --- a/src/components/Charts/MiniArea/index.d.ts +++ b/src/components/Charts/MiniArea/index.d.ts @@ -21,7 +21,7 @@ export interface IMiniAreaProps { xAxis?: IAxis; yAxis?: IAxis; data: Array<{ - x: number; + x: number | string; y: number; }>; } -- GitLab