Skip to content

BoxPlotChart

Tukey box-and-whisker groups.

import QWinUI3.Extras.Charts · src/extras/QWinUI3/Extras/BoxPlotChart.qml

Category: Charts & gauges · Library: v3.56

← Component index

Gallery: BoxPlotChart — src/gallery/pages/BoxPlotChartPage.qml

Python: same QML type after qwinui3.setup_engine() — Python API.

Extends Control.

Example

BoxPlotChart {
    groups: [
        { label: qsTr("A"), values: [12, 14, 15, 18, 22] },
        { label: qsTr("B"), min: 8, q1: 11, median: 14, q3: 17, max: 21 }
    ]
}

Notes

Experimental. Pass values[] for auto stats (ChartUtils.boxPlotStats) or precomputed min/q1/median/q3/max. Not part of the stable six.

API

Properties

Name Type Description
groups var Group descriptors { label?, values? | min,q1,median,q3,max, color? }
title string —
emptyText string —
interactive bool —
isInteractive alias —
hoverIndex int —
isEmpty bool —

Signals

No custom signals (use inherited signals from the base type).

Methods

Signature Description
requestRedraw() —

Inherited from Control

Also available (base type / Qt Quick Controls):

  • padding
  • font
  • background / contentItem

Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.