Skip to content

Commit

Permalink
fix: 修复提示是提示框时,图表会崩溃问题
Browse files Browse the repository at this point in the history
  • Loading branch information
liihuu committed Jul 26, 2020
1 parent 301f4ff commit 1bea136
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/klinecharts.development.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/klinecharts.development.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/klinecharts.production.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ config = {
},
line: {
size: 1,
colors: ['#D9D9D9', '#F5A623', '#F601FF', '#1587DD', '#1e88e5']
colors: ['#D9D9D9', '#F5A623', '#F601FF', '#1e88e5', '#9157DB']
},
circle: {
upColor: '#26A69A',
Expand Down
5 changes: 2 additions & 3 deletions src/view/CandleStickFloatLayerView.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ export default class CandleStickFloatLayerView extends TechnicalIndicatorFloatLa
if (isDrawValueIndicator) {
const technicalIndicatorOptions = this._chartData.styleOptions().technicalIndicator
this._drawTechnicalIndicatorPromptPoint(
realDataPos, technicalIndicator,
data.values,
technicalIndicatorOptions.line.colors, realDataPosX
realDataPos, realDataPosX, technicalIndicator,
data.values, technicalIndicatorOptions.line.colors
)
}
}
Expand Down

0 comments on commit 1bea136

Please sign in to comment.