Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Graph Class Reference
Inheritance diagram for Graph:
IOGraph

Public Types

enum  PlotStyles {
  psLine , psDotLine , psStepLine , psDotStepLine ,
  psImpulse , psBar , psStackedBar , psDot ,
  psSquare , psDiamond , psCross , psPlus ,
  psCircle
}
 

Public Member Functions

 Graph (QCustomPlot *parent)
 
QString name () const
 
void setName (const QString &name)
 
QRgb color () const
 
void setColor (const QRgb color)
 
bool visible () const
 
void setVisible (bool visible)
 
unsigned int yAxisFactor () const
 
void setYAxisFactor (unsigned int y_axis_factor)
 
QCPGraph * graph () const
 
QCPBars * bars () const
 
bool addToLegend ()
 
bool setPlotStyle (PlotStyles style)
 
nstime_t startTime () const
 

Public Attributes

const qreal graph_line_width_ = 1.0
 

Protected Member Functions

void applyCurrentColor ()
 
bool removeFromLegend ()
 
void clearAllData ()
 
double startOffset () const
 

Protected Attributes

QCustomPlot * parent_
 
QCPGraph * graph_
 
QCPBars * bars_
 
QString name_
 
QBrush color_
 
bool visible_
 
unsigned int y_axis_factor_
 
nstime_t start_time_
 

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