I'm using an XYPlot
(ChartFactory.createXYStepChart
) and the problem is the X-Axis is sample frames whose type is long
, so I'm populating my XYSeries
by calling xyseries.add(long, double)
. The result is that JFreeChart automatically interprets the x-values as Date
instances, rendering them as something that looks like SMPTE time code:
Instead I want to show the X values as plain (integer number) sample frames. How can I tell the plot or the renderer to revert to default numeric formatting, leaving the long
s as long
s?