Easy Chart X-Axis Labels on Top

Is there a way to configure the Easy Chart to show the X-axis labels (timestamps) across the top of the plot instead of the bottom?

In the configure chart event you can use:

from org.jfree.chart.axis import AxisLocation

chart.getPlot().setDomainAxisLocation(AxisLocation.TOP_OR_LEFT)

This moves the entire Axis, so tick marks and any labels will also move, if you want to only move the timestamps associated with the major tick’s that’s a bit more complicated.

Thank you, lrose.