Solved Qt ChartView How to show values of labels
-
https://doc.qt.io/qt-5/qml-qtcharts-pieseries.html#details
I created a chart like in link I copied. But I cannot show the values of labels. Probably we can do that in C++ classes but I couldn't find function in QML.
-
Functions are inside PieSlice component. So you should use something like this:
pieSeries.at(i).labelVisible = true;