diff options
Diffstat (limited to 'stats/zvalues.h')
-rw-r--r-- | stats/zvalues.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/stats/zvalues.h b/stats/zvalues.h index 118c488c0..58222f5ab 100644 --- a/stats/zvalues.h +++ b/stats/zvalues.h @@ -2,17 +2,18 @@ // 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. +// drawn in order of addition to the scene. #ifndef ZVALUES_H -struct ZValues { - static constexpr double grid = -1.0; - 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; +enum class ChartZValue { + Grid = 0, + Series, + Axes, + SeriesLabels, + ChartFeatures, // quartile markers and regression lines + InformationBox, + Legend, + Count }; #endif |