* \class InfoElement * \brief Marker which can highlight points of curves and show their values. * \ingroup CartesianPlotArea */
| 46 | * \ingroup CartesianPlotArea |
| 47 | */ |
| 48 | InfoElement::InfoElement(const QString& name, CartesianPlot* plot) |
| 49 | : WorksheetElement(name, new InfoElementPrivate(this), AspectType::InfoElement) { |
| 50 | Q_D(InfoElement); |
| 51 | d->m_plot = plot; |
| 52 | |
| 53 | init(); |
| 54 | setVisible(false); |
| 55 | } |
| 56 | |
| 57 | InfoElement::InfoElement(const QString& name, CartesianPlot* p, const XYCurve* curve, double logicalPos) |
| 58 | : WorksheetElement(name, new InfoElementPrivate(this, curve), AspectType::InfoElement) { |
nothing calls this directly
no test coverage detected