I have a 3D Gantt chart. On Y axis labels appear exactly on tick marks. How can I get them in centre i.e. in between two tick marks?
I have following code and chart:
axisY.setMin(minAxisY);
axisY.setMax(maxAxisY);
axisY.setStep(stepAxisY);
axisY.setGridlines(true);
axisY.getGrid().setColor(Color.GREY);
axisY.setTickMark(TickMark.INSIDE);
axisY.getLine().setColor(Color.GREY);
axisY.setTextColor(Color.GREY);
axisY.setFont(new Font("Arial", Font.PLAIN, 8));
chart.getAxisX().getLine().setColor(Color.GREY));
chart.getAxisX().setVisible(false);
chart.setBackColor(Color.WHITE);
chart.setBorder(false);
chart.setScheme(Scheme.SOLID);
chart.setGallery(Gallery.GANTT);
chart.setChart3D(false);
chart.setRightGap(10);
chart.setLeftGap(10);
chart.setTopGap(10);
chart.setBottomGap(10);
chart.setBorderObject(new DefaultBorder(BorderType.NONE));