open_iA 2024.9
Loading...
Searching...
No Matches
iAStepFunctionPlot Class Reference

Plots each data point as a rectangular bar, all the bars are horizontally connected via a line. More...

#include <iAPlotTypes.h>

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

Public Member Functions

 iAStepFunctionPlot (std::shared_ptr< iAPlotData > data, QColor const &color)
 
- 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 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 each data point as a rectangular bar, all the bars are horizontally connected via a line.

Well suited for binned, e.g. histogram data.

Constructor & Destructor Documentation

◆ iAStepFunctionPlot()

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

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