Center moviing average points on date axis points

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
greydad
Posts: 3
Joined: Wed Aug 08, 2007 11:52 pm

Center moviing average points on date axis points

Post by greydad » Thu Aug 09, 2007 10:19 pm

I have a combination chart with a bar chart and a moving average chart. I can plot both on a DateAxis and ValueAxis. I use the setTickMarkPositions(DateTickMarkPosition.MIDDLE) to center the bar chart on the date ticks but the moving average does not move.

Also I cannot change the parameters of the moving average chart such as color. I can change such parameters on the bar chart but not the moving average chart.

The moving average renderer is the XYLineAndShapeRenderer() and the bar renderer is XYBarRenderer().

I am not sure that other information would be needed to troubleshoot this problem.

Thanks in advance

Locked