Here is an example of a QPolarChart with both radial and angular axis.
I want to remove radial axis (which I can do by not adding the radial axis), but I want the outer circle removed as well. I expect the end result to have only the angular axis like this:
Is that possible with QPolarChart?
This is the axes initialization for QPolarChart* chart
:
QColor c = chart->plotAreaBackgroundPen().color();
chart->createDefaultAxes();
auto angular_axis = qobject_cast<QtCharts::QValueAxis*>(chart->axes().at(0));
auto radial_axis = qobject_cast<QtCharts::QValueAxis*>(chart->axes().at(1));
angular_axis->setLabelsColor(c);
angular_axis->setLinePen(QPen(c));
radial_axis->setLabelsColor(c);
radial_axis->setGridLineVisible(false);