Skip to content

LollipopChart

Stem-and-marker chart (compact bar alternative).

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

Category: Charts & gauges · Library: v3.56

← Component index

Gallery: LollipopChart — src/gallery/pages/LollipopChartPage.qml

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

Extends Control.

Example

LollipopChart {
    values: [12, 28, 18, 34]
    labels: ["Q1", "Q2", "Q3", "Q4"]
}

Notes

Experimental. Prefer BarChart for filled columns.

API

Properties

Name Type Description
values var —
labels var —
title string —
emptyText string —
horizontal bool —
interactive bool —
isInteractive alias —
hoverIndex int —
fillColor color —
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.