Qt 6.11 is out! See what's new in the release
blog
QML Polarchart axis labels in all directions
-
Hi,
maybe I just don't see the answer but let me explain.
I am looking for a way to display the axis labels within a polar-chart in all four directions.For example i copied the given one for polar chart. But as we can see, we only have labels from the center to the top of the chart. I would like to show the values for all four directions.
Is that possible?
PolarChartView { title: "Two Series, Common Axes" anchors.fill: parent legend.visible: false antialiasing: true ValueAxis { id: axisAngular min: 0 max: 20 tickCount: 9 } ValueAxis { id: axisRadial min: -0.5 max: 1.5 } SplineSeries { id: series1 axisAngular: axisAngular axisRadial: axisRadial pointsVisible: true } ScatterSeries { id: series2 axisAngular: axisAngular axisRadial: axisRadial markerSize: 10 } // Add data dynamically to the series Component.onCompleted: { for (var i = 0; i <= 20; i++) { series1.append(i, Math.random()); series2.append(i, Math.random()); } } }Thank you in advance :)