KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
KDChartLineAttributes.h
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Chart library.
4**
5** SPDX-FileCopyrightText: 2001 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10
11#ifndef KDCHARTLINEATTRIBUTES_H
12#define KDCHARTLINEATTRIBUTES_H
13
14#include "KDChartGlobal.h"
15#include <QMetaType>
16
17namespace KDChart {
18
22class KDCHART_EXPORT LineAttributes
23{
24public:
50
53 LineAttributes &operator=(const LineAttributes &);
54
56
57 /* line chart and area chart - all types */
58 void setMissingValuesPolicy(MissingValuesPolicy policy);
59 MissingValuesPolicy missingValuesPolicy() const;
60
61 /* area chart - all types */
68 void setAreaBoundingDataset(int dataset);
69 int areaBoundingDataset() const;
70
71 void setDisplayArea(bool display);
72 bool displayArea() const;
73 /*allows viewing the covered areas*/
74 void setTransparency(uint alpha);
75 uint transparency() const;
76
77 bool operator==(const LineAttributes &) const;
78 inline bool operator!=(const LineAttributes &other) const
79 {
80 return !operator==(other);
81 }
82
83private:
85}; // End of class LineAttributes
86}
87
88#if !defined(QT_NO_DEBUG_STREAM)
89KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::LineAttributes &);
90#endif /* QT_NO_DEBUG_STREAM */
91
93
94QT_BEGIN_NAMESPACE
96QT_END_NAMESPACE
97
98Q_DECLARE_METATYPE(KDChart::LineAttributes)
99
100#endif // KDCHARTLINEATTRIBUTES_H
Contains KDChart macros.
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::LineAttributes, Q_MOVABLE_TYPE)
KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::LineAttributes &)
Set of attributes for changing the appearance of line charts.
MissingValuesPolicy
MissingValuesPolicy specifies how a missing value will be shown in a line diagram.
bool operator!=(const LineAttributes &other) const
bool operator==(const TickInfo &, const TickInfo &)

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated on Thu Apr 11 2024 00:04:50 for KD Chart API Documentation by doxygen 1.9.8