mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
19 lines
338 B
C++
19 lines
338 B
C++
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
#include "statsseries.h"
|
||
|
#include "statsaxis.h"
|
||
|
|
||
|
#include <QChart>
|
||
|
|
||
|
StatsSeries::StatsSeries(QtCharts::QChart *chart, StatsAxis *xAxis, StatsAxis *yAxis)
|
||
|
{
|
||
|
chart->addSeries(this);
|
||
|
if (xAxis && yAxis) {
|
||
|
attachAxis(xAxis->qaxis());
|
||
|
attachAxis(yAxis->qaxis());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
StatsSeries::~StatsSeries()
|
||
|
{
|
||
|
}
|