1
HI如何創建一個圖表,如http://livedocs.adobe.com/flex/3/html/images/VerticalLine.png。使用XYPlot。提前致謝。JFreeChart - 垂直折線圖
HI如何創建一個圖表,如http://livedocs.adobe.com/flex/3/html/images/VerticalLine.png。使用XYPlot。提前致謝。JFreeChart - 垂直折線圖
許多圖表可讓您在相應的圖表工廠中指定PlotOrientation
,但createTimeSeriesChart()
不是其中之一。作爲替代,您可以使用source作爲指導創建自己的變體。
附錄:作爲@Gavin評論,PlotOrientation.VERTICAL
是`XYPlot默認的,所以你會做這樣的事情(未經測試):
XYPlot plot = new XYPlot(dataset, timeAxis, valueAxis, null);
plot.setOrientation(PlotOrientation.HORIZONTAL);
更具體一點,你要尋找的'PlotOrientation .HORIZONTAL「從屏幕頂部到底部繪製圖表。 –
@Gavin:好點;更新。 – trashgod