mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
4ab9f1c6b0
Replace by custom implementation, with the ultimate goal to remove the QtCharts module. This doesn't yet display axis titles or a grid. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
19 lines
583 B
C
19 lines
583 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
// Color constants for the various series
|
|
#ifndef STATSCOLORS_H
|
|
#define STATSCOLORS_H
|
|
|
|
#include <QColor>
|
|
|
|
inline const QColor fillColor(0x44, 0x76, 0xaa);
|
|
inline const QColor borderColor(0x66, 0xb2, 0xff);
|
|
inline const QColor highlightedColor(Qt::yellow);
|
|
inline const QColor highlightedBorderColor(0xaa, 0xaa, 0x22);
|
|
inline const QColor darkLabelColor(Qt::black);
|
|
inline const QColor lightLabelColor(Qt::white);
|
|
inline const QColor axisColor(Qt::black);
|
|
|
|
QColor binColor(int bin, int numBins);
|
|
QColor labelColor(int bin, size_t numBins);
|
|
|
|
#endif
|