QPainter-based bar / histogram widget for Eigen class-limit + frequency vectors. More...


Go to the source code of this file.
Classes | |
| class | DISPLIB::Bar |
| Bar chart / histogram QWidget rendering Eigen class-limit + frequency vectors with QPainter. More... | |
Namespaces | |
| namespace | DISPLIB |
| 2-D display widgets and visualisation helpers (charts, topography, colour maps). | |
QPainter-based bar / histogram widget for Eigen class-limit + frequency vectors.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2018-2026 MNE-CPP Authors
Bar renders a MATLAB-style bar() chart in pure QPainter into a QWidget canvas. The data interface is templated on the value type and accepts class limits and per-bin counts as Eigen column or row vectors, together with a precision hint controlling how many significant digits of the limit values are printed below each bin. It is used by histogram-oriented dialogs (e.g. evoked amplitude or noise distributions) where a lightweight, dependency-free histogram is sufficient.
Definition in file bar.h.