1

嗨,如何创建类似http://livedocs.adobe.com/flex/3/html/images/VerticalLine.png的图表。使用 XY 绘图。提前致谢。

4

1 回答 1

2

许多图表让您PlotOrientation在相应的图表工厂中指定,但createTimeSeriesChart()不是其中之一。作为替代方案,您可以使用源作为指南创建自己的变体。

附录:正如@Gavin评论,PlotOrientation.VERTICAL是`XYPlot的默认值,所以你会做这样的事情(未经测试):

XYPlot plot = new XYPlot(dataset, timeAxis, valueAxis, null);
plot.setOrientation(PlotOrientation.HORIZONTAL);
于 2011-10-23T04:15:32.937 回答