Centering tick marks on a combined plot

Discussion about JFreeChart related to stockmarket charts.
Locked
dbJav

Centering tick marks on a combined plot

Post by dbJav » Tue Jul 05, 2005 12:28 am

I attempted to have both a bar chart and a candlestick chart in one combined plot, but though the candles are centered on the time axis tick, I could not have the bars centered the same way.

I used:

Code: Select all

DateAxis timeAxis = ...    timeAxis.setTickMarkPosition(DateTickMarkPosition.MIDDLE);
CombinedDomainXYPlot multiPlot = new CombinedDomainXYPlot(timeAxis);
Can someone tell me what's wrong ?

DB

Locked