Skip to content

QTradingView

Build License: MIT Demo C++ [Qt]

QTradingView is a lightweight, high-performance charting library written in C++ and Qt inspired by TradingView's lightweight-charts. It focuses on rendering financial charts (candles, bars, lines) with a small API surface, good performance, and an extensible renderer/scale architecture.

Live Demo


Highlights

  • Interactive features: zooming, panning and crosshair tracking
  • Chart types: Line, Candlestick and Bar charts
  • Themes: TradingView-inspired light and dark themes
  • Performance: optimized for large datasets and partial redraws
  • Modular: panes, series, scales and renderers are separable and extensible

Quick start

  1. Add QTradingView to your CMake project (recommended via FetchContent) — see detailed instructions in installation.md.
  2. Create a QTradingView::Chart, add a Pane, attach series and show the chart in a Qt application (example in usage.md).

Documentation layout

  • docs/installation.md — how to integrate and build QTradingView
  • docs/usage.md — API-level quick examples and common patterns
  • docs/examples/ — self-contained examples you can build and run locally
  • docs/api/ — full API generated by Doxygen

If something is missing or unclear, please open an issue or submit a PR — see Contributing for guidelines.

Get help

  • Open an issue on the GitHub repository with a minimal reproduction, platform and Qt/CMake details.
  • For quick questions, see the examples in docs/examples/ and the API docs under docs/api/.