How to implement displaying information about points in QCharts?
-
I currently have a QChartView with QChart and QScatterSeries and QLineSeries. I have looked through the documentation for all of these classes and I can't seem to find any method that will display information about a specific point in my plot. I want to display the x and y coordinates as a tooltip when I hover or click the point.
Am I missing any methods that could help accomplish this? Most of my research has determined that the QCustomPlot class (a separate library I would have to download) is the only widget that could display this information. I would prefer to stay within Qt's classes for licensing purposes.
Any help is much appreciated!
-
https://doc.qt.io/qt-5/qtcharts-callout-example.html
P.S.
I would prefer to stay within Qt's classes for licensing purposes.
QCustomPlot and QtChart have the exact same licensing requirements -
-