
The below code assumes
|
xEnd - xStart, |
|
Math.abs(closeOffset - openOffset)); |
Please review this code, I think even if height is zero of the rectangle it should display a line, which means somehow it has both width and height as 0 which is causing it to display vertical line instead of a cross when open price is equal to close price.
The below code assumes
XChart/xchart/src/main/java/org/knowm/xchart/internal/chartpart/PlotContent_OHLC.java
Lines 268 to 269 in 69db855
Please review this code, I think even if height is zero of the rectangle it should display a line, which means somehow it has both width and height as 0 which is causing it to display vertical line instead of a cross when open price is equal to close price.