如何旋转折线图系列

问题描述 投票:-2回答:1

我有机会在折线图中绘制几个系列。现在,我要旋转其中一个。有什么办法可以做到这一点?

普通:

Y axes

|

|

----X axes

我想要得到的:

X axes

|

|

Y axes ----              
javafx plot linechart
1个回答
0
投票

最后,原始表格功能的旋转转换和y值的排序,以及更改折线图的排序策略,对我都有帮助。

lineChart.setAxisSortingPolicy(LineChart.SortingPolicy.NONE);

如我所愿,我得到了one function along the x axis and another along the y axis

© www.soinside.com 2019 - 2024. All rights reserved.