gizza wrote:
About hiding ticks:
if i hide a tick this will result in a hidden 'tick label' but also the grid line referring to the tick will be hidden?
Technically, you can´t "hide ticks". A tick is nothing "visual" by itself. It is an object that contains a text and, for a ValueTick, also a value and a tick type ("major" or "minor").
During the drawing process, a "list of ticks" is used that might either be created automatically or defined by the user. The information in the "tick list" is used by XYPlot and the ValueAxis (or better one of the subclasses of the abstract class ValueAxis) to "visualize" things:
The XYPlot can draw grid lines for every tick (see XYPlot.drawDomainGridLines and XYPlot.drawRangeGridLines), and
the ValueAxis can draw tick marks and (for major ticks) tick labels for each tick (see ValueAxis.drawTickMarksAndLabels).
The grid lines of the XYPlot and the tick marks and tick labels of the axis are independent. The switches to turn them on and off are located in different classes. So it should be possible to show minor tick marks (w/o label) on the axis and omit the grid lines for the minor ticks or get the grid lines for minor ticks (possibly using a thinner stroke or a lighter color than the the grid for the major ticks) and turn off the minor tick marks.
With my local JFreeChart installation, I have also realized a combination of hidden major grid lines, visible minor grid lines, visible major tick marks but hidden tick labels and hidden minor tick marks but that looked weird.
In short: I assume that you will have all degrees of freedom that you need.