Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Adding drilldown text or values to Donutchart
QtWS25 Last Chance

Adding drilldown text or values to Donutchart

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 244 Views
  • 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.
  • L Offline
    L Offline
    LT-K101
    wrote on last edited by LT-K101
    #1

    Hi,
    I have plot a Donutchart. I want to show for example total of Female ,Male on left and right side respectively as well as the Overall total in the center. Like the image labeled below. Please I need help to achieve this task. Thanks in advance.

    Screenshot (69).png

    1 Reply Last reply
    0
    • CristianMaureiraC Offline
      CristianMaureiraC Offline
      CristianMaureira
      wrote on last edited by
      #2

      You might start first with a normal PieChart from the examples gallery: https://doc.qt.io/qtforpython/examples/index.html then I think you could play around with a QLabel or the title of the chart to be the total number in the middle by manually positioning.

      1 Reply Last reply
      0

      • Login

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