PieChart with tooltip
Unsolved
QML and Qt Quick
-
wrote on 2 Aug 2021, 10:54 last edited by firen 8 Feb 2021, 10:55
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/1