final LinearXYAxis xAxis = (LinearXYAxis) frame.getXAxis();
final XYAxis yAxis = frame.getYAxis();
xAxis.setTickMarkCalculator(new TimeTickMarkCalculator());
final long start = System.currentTimeMillis();
xAxis.setFormat(new DateNumberFormat(new SimpleDateFormat("yyyy-MM-dd\nHH:mm:ss.SSS"), start));
final LinearXYPlotLine line = new LinearXYPlotLine(xAxis, yAxis, XYDimension.X);
line.setXData(new DoubleDataFloat());
line.setYData(new DoubleDataFloat());
line.setForeground(Color.white);