23 #ifndef KDCHARTDATAVALUEATTRIBUTES_H 24 #define KDCHARTDATAVALUEATTRIBUTES_H 42 class BackgroundAttributes;
43 class FrameAttributes;
44 class MarkerAttributes;
67 static const QVariant& defaultAttributesAsVariant();
72 void setVisible(
bool visible );
77 bool isVisible()
const;
97 bool mirrorNegativeValueTextRotation()
const;
102 void setMirrorNegativeValueTextRotation(
bool enable );
156 void setUsePercentage(
bool enable );
162 bool usePercentage()
const;
169 void setDecimalDigits(
int digits );
174 int decimalDigits()
const;
180 void setPrefix(
const QString prefix );
186 QString prefix()
const;
192 void setSuffix(
const QString suffix );
198 QString suffix()
const;
205 void setDataLabel(
const QString label );
211 QString dataLabel()
const;
216 bool showRepetitiveDataLabels()
const;
223 void setShowRepetitiveDataLabels(
bool showRepetitiveDataLabels );
228 bool showOverlappingDataLabels()
const;
235 void setShowOverlappingDataLabels(
bool showOverlappingDataLabels );
244 void setPowerOfTenDivisor(
int powerOfTenDivisor );
245 int powerOfTenDivisor()
const;
257 void setShowInfinite(
bool infinite );
258 bool showInfinite()
const;
305 return positive ? positivePosition() : negativePosition();
315 #if !defined(QT_NO_DEBUG_STREAM) 327 #endif // KDCHARTDATAVALUEATTRIBUTES_H bool operator==(const Span &s1, const Span &s2)
Diagram attributes dealing with data value labels.
Definition of global enums.
A set of attributes for frames around items.
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)
const RelativePosition position(bool positive) const
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::DataValueAttributes, Q_MOVABLE_TYPE)
A set of attributes controlling the appearance of data set markers.
bool operator!=(const DataValueAttributes &other) const
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
Defines relative position information: reference area, position in this area (reference position)...
QDebug operator<<(QDebug stream, const DataDimension &r)
A set of text attributes.
Set of attributes usable for background pixmaps.