|
| | QwtPlotBoxChart (const QString &title=QString()) |
| | Constructor
|
| |
| | QwtPlotBoxChart (const QwtText &title) |
| | Constructor with QwtText title
|
| |
|
| ~QwtPlotBoxChart () override |
| | Destructor
|
| |
| virtual int | rtti () const override |
| | Get the runtime type information
|
| |
| void | attach (QwtPlot *plot) override |
| | Attach the box chart to a plot
|
| |
| void | setPaintAttribute (PaintAttribute, bool on=true) |
| | Set a paint attribute
|
| |
| bool | testPaintAttribute (PaintAttribute) const |
| | Test if a paint attribute is enabled
|
| |
| void | setSamples (const QVector< QwtBoxSample > &) |
| | Set box samples from a vector
|
| |
| void | setSamples (QwtSeriesData< QwtBoxSample > *) |
| | Set box samples from series data
|
| |
| void | setOutliers (const QVector< QwtBoxOutlierSample > &) |
| | Set outlier samples from a vector
|
| |
| void | setOutliers (QwtSeriesData< QwtBoxOutlierSample > *) |
| | Set outlier samples from series data
|
| |
| const QwtSeriesData< QwtBoxOutlierSample > * | outlierData () const |
| | Get the outlier data
|
| |
| void | setBoxStyle (BoxStyle) |
| | Set the box style
|
| |
| BoxStyle | boxStyle () const |
| | Get the box style
|
| |
| void | setWhiskerStyle (WhiskerStyle) |
| | Set the whisker style
|
| |
| WhiskerStyle | whiskerStyle () const |
| | Get the whisker style
|
| |
| void | setOrientation (Qt::Orientation) |
| | Set the orientation
|
| |
| Qt::Orientation | orientation () const |
| | Get the orientation
|
| |
| void | setBoxExtent (double extent) |
| | Set the box extent (width in scale coordinates)
|
| |
| double | boxExtent () const |
| | Get the box extent
|
| |
| void | setMinBoxWidth (double pixels) |
| | Set the minimum box width in pixels
|
| |
| double | minBoxWidth () const |
| | Get the minimum box width
|
| |
| void | setMaxBoxWidth (double pixels) |
| | Set the maximum box width in pixels
|
| |
| double | maxBoxWidth () const |
| | Get the maximum box width
|
| |
| void | setPen (const QColor &, qreal width=0.0, Qt::PenStyle=Qt::SolidLine) |
| | Set the pen for box outline and whiskers
|
| |
| void | setPen (const QPen &) |
| | Set the pen for box outline and whiskers
|
| |
| const QPen & | pen () const |
| | Get the pen for box outline and whiskers
|
| |
| void | setBrush (const QBrush &) |
| | Set the brush for box body fill
|
| |
| const QBrush & | brush () const |
| | Get the brush for box body fill
|
| |
| void | setMedianPen (const QPen &) |
| | Set the pen for median line
|
| |
| QPen | medianPen () const |
| | Get the pen for median line
|
| |
| void | setOutlierSymbol (const QwtSymbol *) |
| | Set the symbol for outliers
|
| |
| const QwtSymbol * | outlierSymbol () const |
| | Get the symbol for outliers
|
| |
| void | setMeanSymbol (const QwtSymbol *) |
| | Set the symbol for mean marker
|
| |
| const QwtSymbol * | meanSymbol () const |
| | Get the symbol for mean marker
|
| |
| void | setMedianVisible (bool) |
| | Set whether the median line is visible
|
| |
| bool | isMedianVisible () const |
| | Check if the median line is visible
|
| |
| void | setMeanVisible (bool) |
| | Set whether the mean marker is visible
|
| |
| bool | isMeanVisible () const |
| | Check if the mean marker is visible
|
| |
| void | setOutlierJitter (double jitterWidth) |
| | Set the outlier jitter width
|
| |
| double | outlierJitter () const |
| | Get the outlier jitter width
|
| |
| virtual void | drawSeries (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, int from, int to) const override |
| | Draw the series
|
| |
| virtual QRectF | boundingRect () const override |
| | Get the bounding rectangle
|
| |
| virtual QwtGraphic | legendIcon (int index, const QSizeF &) const override |
| | Get the legend icon
|
| |
|
| QwtPlotSeriesItem (const QString &title=QString()) |
| |
| | QwtPlotSeriesItem (const QwtText &title) |
| | Constructor
|
| |
| void | setOrientation (Qt::Orientation) |
| | Set the orientation of the item
|
| |
| Qt::Orientation | orientation () const |
| | Get the orientation of the plot item
|
| |
| virtual void | draw (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const override |
| | Draw the complete series
|
| |
| virtual void | updateScaleDiv (const QwtScaleDiv &, const QwtScaleDiv &) override |
| | Update the scale divisions
|
| |
| | QwtPlotItem () |
| | Default constructor
|
| |
|
| QwtPlotItem (const QString &title) |
| | Constructor with title as QString
|
| |
|
| QwtPlotItem (const QwtText &title) |
| | Constructor with title as QwtText
|
| |
|
virtual | ~QwtPlotItem () |
| | Destructor
|
| |
| void | detach () |
| | Detach the item from the plot
|
| |
| QwtPlot * | plot () const |
| | Get the plot the item is attached to
|
| |
| void | setTitle (const QString &title) |
| | Set the title using a QString
|
| |
| void | setTitle (const QwtText &title) |
| | Set the title using a QwtText
|
| |
| const QwtText & | title () const |
| | Get the title
|
| |
| void | setItemAttribute (ItemAttribute, bool on=true) |
| | Set an item attribute
|
| |
| bool | testItemAttribute (ItemAttribute) const |
| | Test an item attribute
|
| |
| void | setItemInterest (ItemInterest, bool on=true) |
| | Set an item interest
|
| |
| bool | testItemInterest (ItemInterest) const |
| | Test an item interest
|
| |
| void | setRenderHint (RenderHint, bool on=true) |
| | Set a render hint
|
| |
| bool | testRenderHint (RenderHint) const |
| | Test a render hint
|
| |
| void | setRenderThreadCount (uint numThreads) |
| | Set the number of render threads
|
| |
| uint | renderThreadCount () const |
| | Get the number of render threads
|
| |
| void | setLegendIconSize (const QSize &) |
| | Set the legend icon size
|
| |
| QSize | legendIconSize () const |
| | Get the legend icon size
|
| |
| double | z () const |
| | Get the z-value
|
| |
| void | setZ (double z) |
| | Set the z-value
|
| |
| void | show () |
| | Show the item
|
| |
| void | hide () |
| | Hide the item
|
| |
| virtual void | setVisible (bool) |
| | Set the visibility
|
| |
| bool | isVisible () const |
| | Check if the item is visible
|
| |
| void | setAxes (QwtAxisId xAxis, QwtAxisId yAxis) |
| | Set both axes
|
| |
| void | setXAxis (QwtAxisId) |
| | Set the x-axis
|
| |
| QwtAxisId | xAxis () const |
| | Get the x-axis
|
| |
| void | setYAxis (QwtAxisId) |
| | Set the y-axis
|
| |
| QwtAxisId | yAxis () const |
| | Get the y-axis
|
| |
| virtual void | itemChanged () |
| | Notify the plot that the item has changed
|
| |
| virtual void | legendChanged () |
| | Notify the item that the legend has changed
|
| |
| virtual void | getCanvasMarginHint (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, double &left, double &top, double &right, double &bottom) const |
| | Get margin hints for the canvas
|
| |
| virtual void | updateLegend (const QwtPlotItem *, const QList< QwtLegendData > &) |
| | Update the item with changes of the legend
|
| |
| QRectF | scaleRect (const QwtScaleMap &, const QwtScaleMap &) const |
| | Calculate the scale rectangle
|
| |
| QRectF | paintRect (const QwtScaleMap &, const QwtScaleMap &) const |
| | Calculate the paint rectangle
|
| |
| virtual QList< QwtLegendData > | legendData () const |
| | Return legend data
|
| |
|
void | setData (QwtSeriesData< QwtBoxSample > *series) |
| |
|
QwtSeriesData< QwtBoxSample > * | data () |
| |
|
const QwtSeriesData< QwtBoxSample > * | data () const |
| |
|
QwtBoxSample | sample (size_t index) const |
| |
| virtual size_t | dataSize () const override |
| |
| virtual QRectF | dataRect () const override |
| |
| virtual void | setRectOfInterest (const QRectF &rect) override |
| | Set a the "rectangle of interest" for the stored series
|
| |
|
QwtSeriesData< QwtBoxSample > * | swapData (QwtSeriesData< QwtBoxSample > *series) |
| |
|
|
void | init () |
| | Initialize
|
| |
|
virtual double | scaledBoxWidth (const QwtScaleMap &posMap, const QwtScaleMap &valueMap, const QRectF &canvasRect) const |
| | Calculate scaled box width in pixels
|
| |
|
virtual void | drawBox (QPainter *, const QwtBoxSample &, Qt::Orientation, double boxWidth, double posPixel, const QwtScaleMap &valueMap) const |
| | Draw a single box
|
| |
|
virtual void | drawWhiskers (QPainter *, const QwtBoxSample &, Qt::Orientation, double boxWidth, double posPixel, const QwtScaleMap &valueMap) const |
| | Draw whiskers for a single box
|
| |
|
virtual void | drawMedian (QPainter *, const QwtBoxSample &, Qt::Orientation, double boxWidth, double posPixel, const QwtScaleMap &valueMap) const |
| | Draw median line for a single box
|
| |
|
virtual void | drawOutliers (QPainter *, const QwtScaleMap &posMap, const QwtScaleMap &valueMap, const QRectF &canvasRect, int from, int to) const |
| | Draw outliers for boxes in range
|
| |
|
virtual void | drawOutlierSymbol (QPainter *, double posPixel, double valuePixel, const QwtSymbol &symbol) const |
| | Draw a single outlier symbol
|
| |
| virtual void | dataChanged () override |
| | dataChanged() indicates, that the series has been changed.
|
| |
| QwtGraphic | defaultIcon (const QBrush &, const QSizeF &) const |
| | Create a default icon
|
| |
Plot item for box-and-whisker (boxplot) visualization
QwtPlotBoxChart displays statistical distributions using the boxplot format:
- Box body showing Q1-Q3 interquartile range
- Median line inside the box
- Whiskers extending to data range or calculated bounds
- Outlier symbols for points outside whiskers
Supports multiple box styles (Rectangle, Diamond, Notch), horizontal/vertical orientation, and extensive customization.