This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch typescript
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/typescript by this push:
     new 7678122  ts: little typo
7678122 is described below

commit 76781226d7baea3a3d22255cb464795056bf200d
Author: 100pah <[email protected]>
AuthorDate: Fri Mar 6 04:51:07 2020 +0800

    ts: little typo
---
 src/chart/candlestick/CandlestickSeries.ts | 6 +++---
 src/chart/candlestick/CandlestickView.ts   | 2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/chart/candlestick/CandlestickSeries.ts 
b/src/chart/candlestick/CandlestickSeries.ts
index 737aa3f..884ad76 100644
--- a/src/chart/candlestick/CandlestickSeries.ts
+++ b/src/chart/candlestick/CandlestickSeries.ts
@@ -61,9 +61,9 @@ export interface CandlestickSeriesOption extends 
SeriesOption, SeriesOnCartesian
     layout?: LayoutOrient
     clip?: boolean
 
-    barMaxWidth: number | string
-    barMinWidth: number | string
-    barWidth: number | string
+    barMaxWidth?: number | string
+    barMinWidth?: number | string
+    barWidth?: number | string
 
     itemStyle?: CandlestickItemStyleOption
     label?: LabelOption
diff --git a/src/chart/candlestick/CandlestickView.ts 
b/src/chart/candlestick/CandlestickView.ts
index ca60214..46fad0a 100644
--- a/src/chart/candlestick/CandlestickView.ts
+++ b/src/chart/candlestick/CandlestickView.ts
@@ -203,6 +203,8 @@ class CandlestickView extends ChartView {
     }
 }
 
+ChartView.registerClass(CandlestickView);
+
 class NormalBoxPathShape {
     points: number[][]
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to