1
votes

1 Answers

2
votes

Many charts let you specify the PlotOrientation in the corresponding chart factory, but createTimeSeriesChart() is not one of them. As an alternative, you can create your own variation using the source as a guide.

Addendum: As @Gavin comments, PlotOrientation.VERTICAL is the default for `XYPlot, so you'd do something like this (untested):

XYPlot plot = new XYPlot(dataset, timeAxis, valueAxis, null);
plot.setOrientation(PlotOrientation.HORIZONTAL);