Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. can qt piechart show percentage instead of value?
Qt 6.11 is out! See what's new in the release blog

can qt piechart show percentage instead of value?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 330 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    piercashuang
    wrote on last edited by piercashuang
    #1

    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

    2f446b8f-88ea-492d-9569-0c91e7c6568f-image.png

    JonBJ 1 Reply Last reply
    0
    • P piercashuang

      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

      2f446b8f-88ea-492d-9569-0c91e7c6568f-image.png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @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.

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved