matoos32 / jfreechart-builder

A builder pattern module for working with the jfreechart library.
Other
11 stars 2 forks source link

Stock market OHLC candlestick bars offset misalignment with indicator lines #6

Closed matoos32 closed 3 years ago

matoos32 commented 3 years ago

Candlestick renderer offsets center of candle from x-axis start pixel. When rendering general xy lines, those line points are drawn at the x-axis start pixel. This causes indicator lines to be misaligned by a few pixels from the OHLC bars and may provide false signals to those looking at charts.

See: OhlcPlotBuilder.java#L261

matoos32 commented 3 years ago

I'm not sure this actually was or still is an issue. May have been fixed by #25. Use at your own risk. A new issue can be re-opened if needed.