Skip to content

Commit 454d11b

Browse files
authored
Fix OHLC plots (#291)
- Was mapping the constant to the wrong value for the data - Fixes #290
1 parent 85dac19 commit 454d11b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/chart/src/ChartUtils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ class ChartUtils {
140140
case dh.plot.SourceType.LOW:
141141
return 'low';
142142
case dh.plot.SourceType.CLOSE:
143+
return 'close';
144+
case dh.plot.SourceType.SHAPE:
143145
return 'shape';
144146
case dh.plot.SourceType.SIZE:
145147
return 'size';

0 commit comments

Comments
 (0)