Simple x/y line-series widget drawn with QPainter. More...
#include "../disp_global.h"#include <Eigen/Core>#include <QWidget>#include <QSharedPointer>#include <QVector>

Go to the source code of this file.
Classes | |
| class | DISPLIB::LinePlot |
| Simple x / y line-series QWidget rendered with QPainter (no Qt Charts dependency). More... | |
Namespaces | |
| namespace | DISPLIB |
| 2-D display widgets and visualisation helpers (charts, topography, colour maps). | |
Simple x/y line-series widget drawn with QPainter.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2018-2026 MNE-CPP Authors
LinePlot accepts one or several QVector<double> y-series (with an optional matching x-series) and renders them as connected polylines with auto-scaled axes, a title and x/y labels. It is intentionally lightweight (no Qt Charts / OpenGL dependency) and is the fallback plotting primitive used by HPI / coregistration dialogs and by diagnostic test apps that just need a small embedded line chart.
Definition in file lineplot.h.