Hello I am unable to display the dates in a JFreeChart. However the dates are included in the TimeSeries. Here's what I see in the debugger:
But the only thing I can see is the following:

Here's my code:
public XYDataset createDataset() {
TimeSeries series1 = new TimeSeries(PortfolioValueChart.CHART_NAME_PORTFOLIO);
for (PriceAction pa : positionPrices.getPrices()) {
series1.add(pa.date.toRegularTimePeriod(), pa.close);
}
TimeSeriesCollection dataset = new TimeSeriesCollection();
dataset.addSeries(series1);
return dataset;
}
JFreeChart portfolioValueChart = PortfolioValueChart.getChart(financialPosition);
ChartPanel portfolioValuePanel = new ChartPanel(portfolioValueChart);
