Skip to content

FunnelChart

Conversion funnel from stage values.

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

Category: Charts & gauges · Library: v3.56

← Component index

Gallery: FunnelChart — src/gallery/pages/FunnelChartPage.qml

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

Extends Control.

Example

FunnelChart {
    stages: [
        { value: 1200, label: qsTr("Visit") },
        { value: 480, label: qsTr("Signup") },
        { value: 96, label: qsTr("Paid") }
    ]
}

Notes

Experimental Canvas funnel. Prefer DonutChart for part-to-whole without stages.

API

Properties

Name Type Description
stages var Stage descriptors { value, label?, color? }
values var Convenience numeric values
title string Primary title text
emptyText string —
interactive bool —
isInteractive alias —
hoverIndex int —
valueUnit string —
unit alias —
isEmpty bool —

Signals

Signature Description
stageClicked(int index, real value) —

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.