Skip to content

Struct QAccelPlot::AxisTicks

ClassList > QAccelPlot > AxisTicks

The visible tick and subtick values, with formatted labels, for one axis viewport. More...

  • #include <AxisTicks.hpp>

Public Attributes

Type Name
QList< AxisTick > majorTicks
Visible major ticks with their labels.
QList< qreal > subtickValues
Data-space values of the visible subticks.

Detailed Description

Holds data-space values and label text only; no pixel geometry. Placement (padding, font metrics, rotation, value-to-pixel mapping) is resolved in Axis::paint().

Built on the GUI thread by AxisTickPainter::computeTicks(), because label formatting may call into the QML/JS engine, and consumed by Axis::paint(), which runs on the render thread with the threaded render loop.

Public Attributes Documentation

variable majorTicks

Visible major ticks with their labels.

QList<AxisTick> QAccelPlot::AxisTicks::majorTicks;


variable subtickValues

Data-space values of the visible subticks.

QList<qreal> QAccelPlot::AxisTicks::subtickValues;



The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/axis/AxisTicks.hpp