Issue
I've the opportunity to plot several series in a line chart. Now I want to rotate one of them. Is there any way I can do this?
Normal:
Y axes
|
|
----X axes
What I want to get:
X axes
|
|
Y axes ----
Solution
In the end, I was helped by rotation transformation of the original tabulated function and sorting values by y, as well as changing the sorting policy for line chart:
lineChart.setAxisSortingPolicy(LineChart.SortingPolicy.NONE);
As I wanted, I got one function along the x axis and another along the y axis
Answered By - Laufinsconsca