Abstract base widget providing title, axis labels and resize handling for the in-house 2-D plots. More...


Go to the source code of this file.
Classes | |
| class | DISPLIB::Graph |
| Common base widget providing title, axis labels and resize handling for DISPLIB's QPainter plots. More... | |
Namespaces | |
| namespace | DISPLIB |
| 2-D display widgets and visualisation helpers (charts, topography, colour maps). | |
Abstract base widget providing title, axis labels and resize handling for the in-house 2-D plots.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2018-2026 MNE-CPP Authors
Graph centralises the boilerplate shared by Plot, ImageSc and any other small QPainter-based plot widget in DISPLIB: storing the plot title and x/y axis label strings, performing the minimal resize bookkeeping that keeps tick spacing readable, and drawing the label band around the actual plot area. Concrete subclasses paint inside the content rectangle that Graph leaves free after the labels and title.
Definition in file graph.h.