Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QPolarChart change axis orientation
kselyunin last edited by
My goal is to use
Qt Chartslibrary, but with different orientation of polar axes.
r(distance) pointing right and
\theta(angle) axis getting positive values counter-clock-wise.
In detail: Official Qt examples show
QPolarChartas follows (see Picture below). I.e. the
raxis orientated as bottom-top (i.e. as
Yaxis, pointing to top) and
\thetaaxis getting positive values when rotating clock-wise (i.e. positive values are rotated clock-wise).
My goal though is to have
QPolarChartlooking like on the picture below, which means (1) the
raxis points right (i.e. orientated as
Xaxis, instead of pointing top as by default), (2) positive values of
\thetaangle are counted counter-clock-wise (instead of clock-wise for positive by default):
For this I would need either to rotate the plot 90 degrees around the center clock-wise, and then "mirror" the plot (i.e. rotate a plot around
Xaxis 180 degrees), or maybe some elegant solution exists. Rotating the whole chart can be done, but it also rotates chart title, and everything else. When rotating my goal would be to rotate "axes" and plot only. Cannot find anything related to
QPolarChartin this respect..
Thanks in advance!