QTradingView¶
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¶
Quick links¶
- Installation: Installation
- Usage: Usage
- Examples: Examples index
- API reference (generated by Doxygen): API reference
- Demo (prebuilt): Web demo
- Contributing: Contributing
- Changelog: Changelog
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¶
- Add QTradingView to your CMake project (recommended via FetchContent) — see detailed instructions in installation.md.
- Create a
QTradingView::Chart, add aPane, attach series and show the chart in a Qt application (example in usage.md).
Documentation layout¶
docs/installation.md— how to integrate and build QTradingViewdocs/usage.md— API-level quick examples and common patternsdocs/examples/— self-contained examples you can build and run locallydocs/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 underdocs/api/.