Skip to content

CandlestickChart

OHLC candlesticks for professional price series.

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

Category: Charts & gauges · Library: v3.56

← Component index

Gallery: CandlestickChart — src/gallery/pages/CandlestickChartPage.qml

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

Extends Control.

Example

CandlestickChart {
    candles: [
        { o: 100, h: 112, l: 96, c: 108 },
        { o: 108, h: 110, l: 101, c: 103 }
    ]
}

Notes

Experimental Canvas OHLC. Not part of the stable six. ChartSeries is Y-only — pass objects.

API

Properties

Name Type Description
candles var OHLC objects { o, h, l, c, label? }
title string Primary title text
emptyText string —
interactive bool —
isInteractive alias —
hoverIndex int —
upColor color —
downColor color —
showVolume bool Draw volume bars when candles include v or volume
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.