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