can qt piechart show percentage instead of value?
-
I am trying to use bing ai to draw a piechart with automatically calculating values(50 & 130) as percentage form as 27% and 73% but i failed.Can i get some helps?Thanks very much! qtversion5.15
-
I am trying to use bing ai to draw a piechart with automatically calculating values(50 & 130) as percentage form as 27% and 73% but i failed.Can i get some helps?Thanks very much! qtversion5.15
@piercashuang
It would help if you said what chart drawing module you are using?!
See https://doc.qt.io/qt-6/qpieslice.html#percentage-prop and https://stackoverflow.com/a/44512580/489865.