File AxisTicks.hpp¶
File List > axis > AxisTicks.hpp
Go to the documentation of this file
//
// SPDX-FileCopyrightText: 2026 Michal Grabarczyk
// SPDX-License-Identifier: GPL-3.0-only WITH Universal-FOSS-exception-1.0
//
// This file is also available under a separate commercial license.
// See COMMERCIAL-LICENSING.md for contact information.
//
#pragma once
#include <QList>
#include <QString>
namespace QAccelPlot {
struct AxisTick {
qreal value{0.0};
QString label;
};
struct AxisTicks {
QList<qreal> subtickValues;
QList<AxisTick> majorTicks;
};
struct AxisTickValues {
QList<qreal> majorValues;
QList<qreal> subtickValues;
qreal step{0.0};
bool logScale{false};
};
} // namespace QAccelPlot