Could somebody provide a simple explanation of the JFreeChart axis-types?
First, we have the axes that are based on the class hierarchy (ValueAxis, CategoryAxis, lots of subclasses)
We also have the "domain axis" versus "range axis" distinction (only for xy plots?). It is not entirely clear how these relate to the class-hierarchy-based axes. These are not classes but there are setDomainAxis and setRangeAxis methods in XYPlot.
Visually I would think in horizontal and vertical axes, I am not sure how these are related to the previous concepts (is "domain" always horizontal?). I think that the x-axis is horizontal and the y-axis vertical, but I am not sure whether this is always the case with XYPlot.
EDIT: I tried to study both the API docs and the developer guide. The API docs just give a hierarchy of classes, but it is not clear when and how to use them. The developer guide also gives no definition or explanation of "domain axis" and "range axis", it just uses these terms. I admit that the question is broad, it is because I could not find this basic information anywhere. I wanted to have a general understanding, but my most important question at the moment is what determines what gets to be on the horizontal/vertical axis (is "domain" always horizontal? if not how to set it?) because I am getting some crazy results and I don't know where to start the debugging. It is also not clear whether I should use CombinedRangeXYPlot or CombinedDomainXYPlot if I want the two plots to be placed one above the other.
EDIT2: Although this was not answered, I found out in the meantime what determines whether the domain axis is horizontal: the PlotOrientation setting. This setting (on the level of combined plot) also determines whether CombinedRangeXYPlot/CombinedDomainXYPlot arrange the two plots horizontally or vertically.