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)
325 Q_DECLARE_METATYPE( KDChart::DataValueAttributes )
327 #endif // KDCHARTDATAVALUEATTRIBUTES_H