Peace be upon you!
Following is an image of a trend in a huge software where some real time as well as history data is being plotted. There are two pens registered and separate axis for each pen is defined on the same trend.
I have been trying to do exactly this in JavaFX 2.0 charts. I have been able to plot a real time chart which is as follows:
I have been researching about multiple axis using JavaFX and could find the this link but I think this is an older version of JavaFX using FXML. However, I am using JavaFX regular classes to accomplish this.
Here you can find my solution -
MultipleAxesLineChart. It is not generic and just fits my needs, but I think it can give a good sight of how it can be done by using