Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. PieChart with tooltip
Forum Update on Monday, May 27th 2025

PieChart with tooltip

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
pieseries qml
1 Posts 1 Posters 152 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.
  • F Offline
    F Offline
    firen
    wrote on 2 Aug 2021, 10:54 last edited by firen 8 Feb 2021, 10:55
    #1

    Hi everyone,

    I would like to connect my PieSeries with a tooltip. Cause the datasource is from C++ i generate the PieSeries dynamical this way:

            Connections{
                target: chartData
                onAssignmentPointsRead: //Signal from the C++ object
                {
                    chart_assignPoints.removeAllSeries();
                    var seriesOut = chart_assignPoints.createSeries(ChartView.SeriesTypePie, "Pos-Points");
                    seriesOut.size = 0.96
                    seriesOut.holeSize = 0.7
                    seriesOut.append("Assignment 1", chartData.getAssignmentPoint(ChartData.POSASSIGN1)); //ChartData is the C++ object
    }
    

    Where and how could I add the toolTip? In the Connection? I need the toolTip to show the labeltext + the value in Slices where the space is not enough.

    Thanks in advance!

    1 Reply Last reply
    0

    1/1

    2 Aug 2021, 10:54

    • Login

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