Skip to content

ParetoChart

Ranked bars plus cumulative percent line.

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

Category: Charts & gauges · Library: v3.56

← Component index

Gallery: ParetoChart — src/gallery/pages/ParetoChartPage.qml

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

Extends Control.

Example

ParetoChart {
    values: [42, 18, 12, 8, 5]
    labels: ["A", "B", "C", "D", "E"]
}

Notes

Experimental. ChartUtils.paretoRows sorts descending and computes cumulative share. Prefer ComboChart when the order is already fixed.

API

Properties

Name Type Description
values var —
labels var —
title string —
emptyText string —
valueUnit string —
unit alias —
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.