Search code examples
javajfreechart

Alignment in combined OHLC chart


The allignment in the following chart is wrong.

The OHLC data point is exactly in the middle of the volume bar. But the additional TimeSeries starts where the bar starts (the line should connect the lowest point of the OHLC point). How can I center it?

alignment in chart


Solution

  • use setXPosition in your dataset