11 #ifndef KDCHARTDATAVALUEATTRIBUTES_H
12 #define KDCHARTDATAVALUEATTRIBUTES_H
29 class BackgroundAttributes;
30 class FrameAttributes;
31 class MarkerAttributes;
57 static const QVariant &defaultAttributesAsVariant();
62 void setVisible(
bool visible);
67 bool isVisible()
const;
87 bool mirrorNegativeValueTextRotation()
const;
92 void setMirrorNegativeValueTextRotation(
bool enable);
146 void setUsePercentage(
bool enable);
152 bool usePercentage()
const;
159 void setDecimalDigits(
int digits);
164 int decimalDigits()
const;
170 void setPrefix(
const QString &prefix);
176 QString prefix()
const;
182 void setSuffix(
const QString &suffix);
188 QString suffix()
const;
195 void setDataLabel(
const QString &label);
201 QString dataLabel()
const;
206 bool showRepetitiveDataLabels()
const;
213 void setShowRepetitiveDataLabels(
bool showRepetitiveDataLabels);
218 bool showOverlappingDataLabels()
const;
225 void setShowOverlappingDataLabels(
bool showOverlappingDataLabels);
234 void setPowerOfTenDivisor(
int powerOfTenDivisor);
235 int powerOfTenDivisor()
const;
246 void setShowInfinite(
bool infinite);
247 bool showInfinite()
const;
294 return positive ? positivePosition() : negativePosition();
303 #if !defined(QT_NO_DEBUG_STREAM)
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::DataValueAttributes, Q_MOVABLE_TYPE)
KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::DataValueAttributes &)
Definition of global enums.
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)
Diagram attributes dealing with data value labels.
bool operator!=(const DataValueAttributes &other) const
const RelativePosition position(bool positive) const
A set of attributes for frames around items.
A set of attributes controlling the appearance of data set markers.
Defines relative position information: reference area, position in this area (reference position),...
A set of text attributes.
bool operator==(const TickInfo &, const TickInfo &)