open_iA 2025.6
Loading...
Searching...
No Matches
iALinePlot Class Reference

Plots the given data as a line. More...

#include <iAPlotTypes.h>

Inheritance diagram for iALinePlot:
[legend]
Collaboration diagram for iALinePlot:
[legend]

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< iAPlotDatadata ()
 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< iAPlotDatam_data
 
bool m_visible
 

Detailed Description

Plots the given data as a line.

Well-suited for (pseudo-)continuous data. For filling the area under the curve, see the iAFilledLinePlot.

Constructor & Destructor Documentation

◆ iALinePlot()

iALinePlot::iALinePlot ( std::shared_ptr< iAPlotData > data,
QColor const & color )

Member Function Documentation

◆ setLineWidth()

void iALinePlot::setLineWidth ( int width)

The documentation for this class was generated from the following files: