Skip to content

A project showcasing the use of Qt Charts to display interactive charts. Currently, it serves as a simple example demonstrating the basic functionality.

Notifications You must be signed in to change notification settings

maishuji/cpp-qt-charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qt Chart Project

This project demonstrates how to use Qt Charts to display data from a CSV file in a simple Qt application. It creates a chart that plots data such as Bitcoin prices over time. The project includes multiple charts displayed side-by-side in a single window.

Features

  • Reads Bitcoin price data from a CSV file with timestamp and price.
  • Displays two charts side by side in the same window.
  • Uses QChartView and QLineSeries to plot the data.
  • Automatically handles widget deletion with Qt's parent-child memory management.

Requirements

  • Qt 5.15 or later (QtCharts module).
  • CMake for project configuration.

Building the Project

mkdir build
cd build
cmake ..
make

License

This project is licensed under MIT License

About

A project showcasing the use of Qt Charts to display interactive charts. Currently, it serves as a simple example demonstrating the basic functionality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published