QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QwtBoxSample Class Reference

Sample for box-and-whisker plot (boxplot) visualization. More...

#include <qwt_samples.h>

Inheritance diagram for QwtBoxSample:
QwtStatisticalSample

Public Member Functions

 QwtBoxSample (double position=0.0)
 Default constructor.
 
 QwtBoxSample (double position, double whiskerLower, double q1, double median, double q3, double whiskerUpper)
 Full constructor with all statistical values.
 
bool isValid () const
 Check if sample has valid ordering.
 
QwtInterval boundingInterval () const
 Get bounding interval including whiskers.
 
QwtInterval boxInterval () const
 Get box body interval (Q1 to Q3)
 
- Public Member Functions inherited from QwtStatisticalSample
 QwtStatisticalSample (double position=0.0)
 Default constructor.
 

Public Attributes

double whiskerLower
 Lower whisker endpoint.
 
double q1
 First quartile (25th percentile)
 
double median
 Median (50th percentile) - also stored in inherited 'center' field.
 
double q3
 Third quartile (75th percentile)
 
double whiskerUpper
 Upper whisker endpoint.
 
int outlierCount
 Number of outliers (stored separately, this is count only)
 
- Public Attributes inherited from QwtStatisticalSample
double position
 Position on the "time" axis (x for vertical, y for horizontal orientation)
 
double lower
 Lower bound of the statistical range.
 
double upper
 Upper bound of the statistical range.
 
double center
 Central reference value.
 

Detailed Description

Sample for box-and-whisker plot (boxplot) visualization.

Constructor & Destructor Documentation

◆ QwtBoxSample() [1/2]

QwtBoxSample::QwtBoxSample ( double  position = 0.0)
inline

Default constructor.

◆ QwtBoxSample() [2/2]

QwtBoxSample::QwtBoxSample ( double  position,
double  whiskerLower,
double  q1,
double  median,
double  q3,
double  whiskerUpper 
)
inline

Full constructor with all statistical values.

Member Function Documentation

◆ boundingInterval()

QwtInterval QwtBoxSample::boundingInterval ( ) const
inline

Get bounding interval including whiskers.

◆ boxInterval()

QwtInterval QwtBoxSample::boxInterval ( ) const
inline

Get box body interval (Q1 to Q3)

◆ isValid()

bool QwtBoxSample::isValid ( ) const
inline

Check if sample has valid ordering.


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