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