2021-01-02 09:25:04 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
// Defines the z-values of features in the chart view.
|
|
|
|
// Objects with higher z-values are painted on top of objects
|
|
|
|
// with smaller z-values. For the same z-value objects are
|
|
|
|
// drawn in order of addition to the graphics scene.
|
|
|
|
#ifndef ZVALUES_H
|
|
|
|
|
|
|
|
struct ZValues {
|
2021-01-05 12:51:39 +00:00
|
|
|
static constexpr double grid = -1.0;
|
2021-01-05 11:11:46 +00:00
|
|
|
static constexpr double series = 0.0;
|
|
|
|
static constexpr double axes = 1.0;
|
|
|
|
static constexpr double seriesLabels = 2.0;
|
|
|
|
static constexpr double chartFeatures = 3.0; // quartile markers and regression lines
|
|
|
|
static constexpr double informationBox = 4.0;
|
|
|
|
static constexpr double legend = 5.0;
|
2021-01-02 09:25:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|