如何旋转折线图系列
How to rotate line chart series
我有机会在折线图中绘制多个系列。现在我想旋转其中一个。有什么办法可以做到这一点吗?
正常:
Y axes
|
|
----X axes
我想得到的:
X axes
|
|
Y axes ----
最后,对原来的表格函数进行旋转变换,按y排序值,以及更改折线图的排序策略:
lineChart.setAxisSortingPolicy(LineChart.SortingPolicy.NONE);
如我所愿,我得到了
one function along the x axis and another along the y axis
我有机会在折线图中绘制多个系列。现在我想旋转其中一个。有什么办法可以做到这一点吗?
正常:
Y axes
|
|
----X axes
我想得到的:
X axes
|
|
Y axes ----
最后,对原来的表格函数进行旋转变换,按y排序值,以及更改折线图的排序策略:
lineChart.setAxisSortingPolicy(LineChart.SortingPolicy.NONE);
如我所愿,我得到了 one function along the x axis and another along the y axis