KChart
KChartDataValueAttributes.cpp
59 Measure me( 20.0, KChartEnums::MeasureCalculationModeAuto, KChartEnums::MeasureOrientationAuto );
138 static const QVariant theDefaultDataValueAttributesVariant = QVariant::fromValue(defaultAttributes());
Declaring the class KChart::DataValueAttributes.
Set of attributes usable for background pixmaps.
Definition KChartBackgroundAttributes.h:23
Diagram attributes dealing with data value labels.
Definition KChartDataValueAttributes.h:42
void setMirrorNegativeValueTextRotation(bool enable)
Definition KChartDataValueAttributes.cpp:193
void setFrameAttributes(const FrameAttributes &a)
Set the frame attributes to use for the data value labels area.
Definition KChartDataValueAttributes.cpp:163
void setDataLabel(const QString label)
display a string label instead of the original data value label Supports HTML code.
Definition KChartDataValueAttributes.cpp:243
const RelativePosition positivePosition() const
Return the relative positioning of the data value labels.
Definition KChartDataValueAttributes.cpp:308
void setDecimalDigits(int digits)
Set how many decimal digits to display when rendering the data value labels.
Definition KChartDataValueAttributes.cpp:213
void setMarkerAttributes(const MarkerAttributes &a)
Set the marker attributes to use for the data values.
Definition KChartDataValueAttributes.cpp:183
bool isVisible() const
Definition KChartDataValueAttributes.cpp:148
void setPositivePosition(const RelativePosition &relPosition)
Defines the relative position of the data value labels for positive values.
Definition KChartDataValueAttributes.cpp:303
void setUsePercentage(bool enable)
Specify whether to use percentages instead of actual data point values when no specific label is set.
Definition KChartDataValueAttributes.cpp:203
MarkerAttributes markerAttributes() const
Definition KChartDataValueAttributes.cpp:188
bool usePercentage() const
Definition KChartDataValueAttributes.cpp:208
int decimalDigits() const
Definition KChartDataValueAttributes.cpp:218
const RelativePosition negativePosition() const
Return the relative positioning of the data value labels.
Definition KChartDataValueAttributes.cpp:298
bool showOverlappingDataLabels() const
Definition KChartDataValueAttributes.cpp:263
FrameAttributes frameAttributes() const
Definition KChartDataValueAttributes.cpp:168
BackgroundAttributes backgroundAttributes() const
Definition KChartDataValueAttributes.cpp:178
void setBackgroundAttributes(const BackgroundAttributes &a)
Set the background attributes to use for the data value labels area.
Definition KChartDataValueAttributes.cpp:173
bool mirrorNegativeValueTextRotation() const
If true, rotation of negative value labels is negated, so that negative values are rotated in opposit...
Definition KChartDataValueAttributes.cpp:198
TextAttributes textAttributes() const
Definition KChartDataValueAttributes.cpp:158
QString prefix() const
Returns the string used as a prefix to the data value text.
Definition KChartDataValueAttributes.cpp:228
bool showRepetitiveDataLabels() const
Definition KChartDataValueAttributes.cpp:253
void setShowOverlappingDataLabels(bool showOverlappingDataLabels)
Set whether data value texts overlapping other data value texts of the same diagram should be drawn.
Definition KChartDataValueAttributes.cpp:268
void setTextAttributes(const TextAttributes &a)
Set the text attributes to use for the data value labels.
Definition KChartDataValueAttributes.cpp:153
void setNegativePosition(const RelativePosition &relPosition)
Defines the relative positioning of the data value labels for negative values.
Definition KChartDataValueAttributes.cpp:293
void setVisible(bool visible)
Set whether data value labels should be displayed.
Definition KChartDataValueAttributes.cpp:143
QString suffix() const
Returns the string used as a suffix to the data value text.
Definition KChartDataValueAttributes.cpp:238
QString dataLabel() const
Returns the string displayed instead of the data value label.
Definition KChartDataValueAttributes.cpp:248
void setPrefix(const QString prefix)
Prepend a prefix string to the data value label.
Definition KChartDataValueAttributes.cpp:223
void setShowRepetitiveDataLabels(bool showRepetitiveDataLabels)
Set whether data value labels not different from their predecessors should be drawn.
Definition KChartDataValueAttributes.cpp:258
void setSuffix(const QString suffix)
Append a suffix string to the data value label.
Definition KChartDataValueAttributes.cpp:233
A set of attributes for frames around items.
Definition KChartFrameAttributes.h:23
A set of attributes controlling the appearance of data set markers.
Definition KChartMarkerAttributes.h:30
Measure is used to specify relative and absolute sizes in KChart, e.g.
Definition KChartMeasure.h:38
Defines relative position information: reference area, position in this area (reference position),...
Definition KChartRelativePosition.h:44
void setFontSize(const Measure &measure)
Set the size of the font used for rendering text.
Definition KChartTextAttributes.cpp:126
void setMinimalFontSize(const Measure &measure)
Set the minimal size of the font used for rendering text.
Definition KChartTextAttributes.cpp:136
void setRotation(int rotation)
Set the rotation angle to use for the text.
Definition KChartTextAttributes.cpp:220
AlignTop
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:57:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:57:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.