Extending script plot() function

This commit is contained in:
2025-04-23 13:37:47 +02:00
parent e6bab45a89
commit 78f242d808
6 changed files with 273 additions and 37 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef CHARTGRAPH_H
#define CHARTGRAPH_H
#include <QDialog>
#include <QJSValue>
#include <QChart>
class ChartView;
class ChartGraph : public QDialog
{
Q_OBJECT
QChart *_chart;
ChartView *_chartView;
public:
explicit ChartGraph(QWidget *parent = nullptr);
void plot(const QVariant &graph);
public slots:
void save();
signals:
};
#endif // CHARTGRAPH_H