Candles do not coinside with timelines.. why?

Discussion about JFreeChart related to stockmarket charts.
Locked
Dymytry
Posts: 4
Joined: Fri Jan 22, 2010 2:36 pm
antibot: No, of course not.

Candles do not coinside with timelines.. why?

Post by Dymytry » Thu Apr 29, 2010 7:03 pm

Hello guys!

I'm plotting the candlestick chart, it was great before I have found a problem: my candlesticks are placed not right above the minute timelines, but between them! I mean each candle is placed in the XXminutes:30seconds position. Whats up?

I have checked my dates array - its ok, it has zero seconds.
As for plotting, I add my data to the series via series.add(new Minute(mynextdate)), probably a problem is here?

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Re: Candles do not coinside with timelines.. why?

Post by skunk » Thu Apr 29, 2010 8:38 pm

Have you experimented with this method in DateAxis?

Code: Select all

public void setTickMarkPosition(DateTickMarkPosition position)

Locked