Skip to content

Commit 4837e44

Browse files
committed
docs: 修改文档
1 parent f1722c5 commit 4837e44

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

docs/en/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Change Log
22

33
## 5.5.1
4-
`To be released`
4+
`2020-08-16`
55
+ 💄 When there is no data, the y-axis is displayed.
66
+ 💄 Optimize the default main chart technical indicator type, the default chart is simpler.
77
+ 💄 Optimize performance and reduce useless calculations.
88
+ 🐞 Fix the problem that the y-axis cannot be displayed and displayed incorrectly when switching the chart type and the newly added secondary chart indicator.
9+
+ 🐞 Fix the problem that cannot be merged correctly when configuration is a method.
910
+ 👉 `xAxis.tickText.margin` changed to `xAxis.tickText.paddingTop` and `xAxis.tickText.paddingBottom`.
1011
+ 👉 `yAxis.tickText.margin` changed to `yAxis.tickText.paddingLeft` and `yAxis.tickText.paddingRight`.
1112

docs/zh-CN/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# 版本日志
22

33
## 5.5.1
4-
`待发布`
4+
`2020-08-16`
55
+ 💄 优化无数据时,y轴显示。
66
+ 💄 优化默认主图技术指标类型,默认图表更纯粹。
77
+ 💄 优化性能,减少无用的计算。
88
+ 🐞 修复切换图表类型和新增副图指标y轴不能显示和显示不对问题。
9+
+ 🐞 修复当配置是方法时,不能正确合并的问题。
910
+ 👉 `xAxis.tickText.margin`变更为`xAxis.tickText.paddingTop``xAxis.tickText.paddingBottom`
1011
+ 👉 `yAxis.tickText.margin`变更为`yAxis.tickText.paddingLeft``yAxis.tickText.paddingRight`
1112

docs/zh-CN/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ setCandleStickChartType(chartType)
121121

122122
// 设置蜡烛图上的技术指标类型
123123
// 理论上支持目前图表支持的所以技术指标
124-
// 一般来说,只是设置'NO','MA','EMA','BOLL','SAR',当设置为'NO'时将不展示
124+
// 当设置为'NO'时将不展示
125125
setCandleStickTechnicalIndicatorType(technicalIndicatorType)
126126

127127
// 创建技术指标图
128-
// technicalIndicatorType 技术指标类型,详情参阅技术指标,可缺省,默认为'MACD'
128+
// technicalIndicatorType 技术指标类型
129129
// height 技术指标图的高度,可缺省,默认为100
130130
// dragEnabled 技术指标图是否可以拖拽调整高度,可缺省,默认为true
131131
// 返回值是一个字符串类型的技术指标图标识,这非常重要,后续对该图表的一些操作,都需要此标识
@@ -136,7 +136,7 @@ createTechnicalIndicator(technicalIndicatorType, height, dragEnabled)
136136
addCustomTechnicalIndicator(technicalIndicatorInfo)
137137

138138
// 设置其它技术指标图的指标类型
139-
// technicalIndicatorType 技术指标类型,当technicalIndicatorType是'NO'时,图表会移除当前技术指标图,详情类型详情可参阅技术指标
139+
// technicalIndicatorType 技术指标类型,当technicalIndicatorType是不存在时,图表会移除当前技术指标图,详情类型详情可参阅技术指标
140140
// tag 技术指标图标识
141141
setTechnicalIndicatorType(tag, technicalIndicatorType)
142142

0 commit comments

Comments
 (0)