You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/03/05 20:51:42 UTC

[incubator-echarts] branch typescript updated: ts: little typo

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 <su...@gmail.com>
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org