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

Public Types

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

Public Member Functions

 Graph (QCustomPlot *parent, QCPAxis *keyAxis=nullptr, QCPAxis *valueAxis=nullptr)
 
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)
 

Public Attributes

const qreal graph_line_width_ = 1.0
 

Static Public Attributes

static const int default_y_axis_factor_ = 1
 

Protected Member Functions

void applyCurrentColor ()
 
bool removeFromLegend ()
 
void clearAllData ()
 

Protected Attributes

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

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