ChartCard¶
Title/subtitle chrome around a chart child.
import QWinUI3.Extras · src/extras/QWinUI3/Extras/ChartCard.qml
Category: Charts & gauges · Library: v2.80
Gallery: ChartCard — src/gallery/pages/ChartCardPage.qml
Extends Control.
Example¶
Notes¶
Title/subtitle chrome around a chart child; put the chart as content. Layout.fillWidth defaults to true. Omit a chart child (or bind empty series) for an empty card — charts own their empty states / units / click callbacks.
API¶
Properties¶
| Name | Type | Description |
|---|---|---|
title |
string |
Primary title text |
subtitle |
string |
Secondary subtitle text |
footer |
string |
Footer text |
showExportAction |
bool |
Show an Export action in the footer strip (2.65) |
exportActionText |
string |
Export action label |
footerActions |
alias |
Trailing footer actions slot (buttons, links) |
symbol |
var |
FluentIcons symbol (preferred over iconGlyph) |
iconGlyph |
string |
Raw Fluent glyph string fallback |
animated |
bool |
Play enter / reveal animation |
elevated |
bool |
Stronger elevation / card tint (compat — prefer appearance: "elevated") |
appearance |
string |
Surface variant: elevated | filled | outline | accent | "" (follow elevated) — 2.67 A4 |
bordered |
bool |
Draw a border when true |
headerActions |
alias |
Trailing header actions slot |
content |
alias |
Content slot / children host |
effectiveIconGlyph |
string |
Resolved glyph string |
Signals¶
| Signature | Description |
|---|---|
exportRequested() |
Emitted when the built-in Export action is clicked |
Methods¶
No custom methods (use inherited methods from the base type).
Inherited from Control¶
Also available (base type / Qt Quick Controls):
paddingfontbackground/contentItem
Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.