|
open_iA 2024.7
|
Plots the given data as a line. More...
#include <iAPlotTypes.h>
Public Member Functions | |
| iALinePlot (std::shared_ptr< iAPlotData > data, QColor const &color) | |
| void | setLineWidth (int width) |
Public Member Functions inherited from iAPlot | |
| iAPlot (std::shared_ptr< iAPlotData > data, QColor const &color) | |
| virtual | ~iAPlot () |
| QColor const | color () const |
| Get plot color. | |
| virtual std::shared_ptr< iAPlotData > | data () |
| Retrieves the data used for drawing. | |
| virtual void | drawLegendItem (QPainter &painter, QRect const &rect) |
| Draws a legend item for the plot. | |
| virtual void | setColor (QColor const &color) |
| Set plot color. | |
| virtual void | setVisible (bool visible) |
| Sets whether the plot should be currently drawn or not. | |
| virtual bool | visible () const |
| Whether the plot is currently being drawn. | |
Additional Inherited Members | |
Protected Attributes inherited from iAPlot | |
| std::shared_ptr< iAPlotData > | m_data |
| bool | m_visible |
Plots the given data as a line.
Well-suited for (pseudo-)continuous data. For filling the area under the curve, see the iAFilledLinePlot.
| iALinePlot::iALinePlot | ( | std::shared_ptr< iAPlotData > | data, |
| QColor const & | color ) |
| void iALinePlot::setLineWidth | ( | int | width | ) |