diff --git a/docs/en/changelog.md b/docs/en/changelog.md index 9def6ad64..98212b381 100644 --- a/docs/en/changelog.md +++ b/docs/en/changelog.md @@ -1,4 +1,9 @@ # Change Log +#7.3.1 +`2021-05-31` +๐Ÿ’„ Optimize the display of `yAxis.type:log`. + + ## 7.3.0 `2021-05-28` + ๐Ÿ†• Add api `scrollByDistance`, `scrollToRealTime`, `scrollToPosition`, `zoomAtCoordinate` and `zoomAtPosition`. @@ -7,7 +12,7 @@ + ๐Ÿ†• Add style configuration, `candle.priceMark.last.text.borderRadius`, `technicalIndicator.lastValueMark.text.borderRadius`, `crosshair.horizontal.text.borderRadius`, `crosshair.vertical.text.borderRadius`. + ๐Ÿ†• Add touchpad scrolling support. -+ ๐Ÿ’ช Api `creatTechnicalIndicator`, window parameters can take effect in real time. ++ ๐Ÿ’ช Api `createTechnicalIndicator`, window parameters can take effect in real time. + ๐Ÿ’ช Api `setDataSpace` and `setOffsetRightSpace` able to refresh in real time. diff --git a/docs/zh-CN/changelog.md b/docs/zh-CN/changelog.md index 592a6363c..0c628ef89 100644 --- a/docs/zh-CN/changelog.md +++ b/docs/zh-CN/changelog.md @@ -1,4 +1,9 @@ # ๆ›ดๆ–ฐๆ—ฅๅฟ— +#7.3.1 +`2021-05-31` +๐Ÿ’„ ไผ˜ๅŒ–`yAxis.type:log`ๆ˜พ็คบใ€‚ + + ## 7.3.0 `2021-05-28` + ๐Ÿ†• ๆ–ฐๅขžapi `scrollByDistance`ใ€`scrollToRealTime`ใ€`scrollToPosition`ใ€`zoomAtCoordinate`ๅ’Œ`zoomAtPosition`ใ€‚ @@ -7,7 +12,7 @@ + ๐Ÿ†• ๆ–ฐๅขž้…็ฝฎ๏ผŒ`candle.priceMark.last.text.borderRadius`ใ€`technicalIndicator.lastValueMark.text.borderRadius`ใ€ `crosshair.horizontal.text.borderRadius`ใ€`crosshair.vertical.text.borderRadius`ใ€‚ + ๐Ÿ†• ๆ–ฐๅขž่งฆๆ‘ธๆฟๆปšๅŠจๆ”ฏๆŒใ€‚ -+ ๐Ÿ’ช Api `creatTechnicalIndicator`๏ผŒ็ช—ๅฃๅ‚ๆ•ฐๅฏไปฅๅฎžๆ—ถ็”Ÿๆ•ˆใ€‚ ++ ๐Ÿ’ช Api `createTechnicalIndicator`๏ผŒ็ช—ๅฃๅ‚ๆ•ฐๅฏไปฅๅฎžๆ—ถ็”Ÿๆ•ˆใ€‚ + ๐Ÿ’ช Api `setDataSpace`ๅ’Œ`setOffsetRightSpace`่ƒฝๅคŸๅฎžๆ—ถ้‡็ป˜ใ€‚ diff --git a/package.json b/package.json index 4ec860791..ddfccb97b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "klinecharts", - "version": "7.3.0", + "version": "7.3.1", "description": "Lightweight k-line chart built with html5 canvas", "main": "index.js", "types": "./types/index.d.ts", diff --git a/src/component/YAxis.js b/src/component/YAxis.js index 8d0504a1a..0e9deee1c 100644 --- a/src/component/YAxis.js +++ b/src/component/YAxis.js @@ -341,7 +341,7 @@ export default class YAxis extends Axis { break } case YAxisType.LOG: { - return index10(value, true) + return index10(value) } default: { return value