I am trying to draw Timeseries3D Chart.Code is
public JFreeChart createTimeSeries3D(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset,
PlotOrientation orientation,boolean legend)
{
if (orientation == null) {
throw new IllegalArgumentException("Null 'orientation' argument.");
}
NumberAxis3D xAxis = new NumberAxis3D(xAxisLabel);
ValueAxis yAxis = new NumberAxis3D(yAxisLabel);
XYLine3DRenderer renderer = new XYLine3DRenderer();
XYPlot plot = new XYPlot(dataset, xAxis, yAxis,
renderer);
plot.setOrientation(orientation);
JFreeChart chart = new JFreeChart(title, JFreeChart.DEFAULT_TITLE_FONT,
plot, legend);
return chart;
}
Problem is Axis is displaying in 2D.
I expect in 3D
Any suggestion/help is appreciated
Thanks in advance
