 |
KD Chart 2
[rev.2.8]
|
Go to the documentation of this file.
26 #include <KDABLibFakes>
33 class BarAttributes::Private
41 bool useFixedDatasetGap;
52 BarAttributes::Private::Private()
54 useFixedDatasetGap( false ),
56 useFixedValueBlockGap( false ),
58 useFixedBarWidth( false ),
59 drawSolidExcessArrows( false ),
60 groupGapFactor( 2.0 ),
66 BarAttributes::BarAttributes()
72 : _d( new Private( *r.
d ) )
116 return d->datasetGap;
121 d->useFixedDatasetGap = gapIsFixed;
126 return d->useFixedDatasetGap;
131 d->valueBlockGap = gap;
136 return d->valueBlockGap;
141 d->useFixedValueBlockGap = gapIsFixed;
146 return d->useFixedValueBlockGap;
167 return d->useFixedBarWidth;
172 d->groupGapFactor = gapFactor;
177 return d->groupGapFactor;
182 d->barGapFactor = gapFactor;
187 return d->barGapFactor;
192 d->drawSolidExcessArrows = solidArrows;
197 return d->drawSolidExcessArrows;
qreal fixedDataValueGap() const
void setFixedValueBlockGap(qreal gap)
void setDrawSolidExcessArrows(bool solidArrows)
void setFixedDataValueGap(qreal gap)
void setUseFixedDataValueGap(bool gapIsFixed)
BarAttributes & operator=(const BarAttributes &)
void setBarGapFactor(qreal gapFactor)
void setFixedBarWidth(qreal width)
void setUseFixedBarWidth(bool useFixedBarWidth)
bool useFixedDataValueGap() const
bool useFixedBarWidth() const
void setUseFixedValueBlockGap(bool gapIsFixed)
qreal groupGapFactor() const
Set of attributes for changing the appearance of bar charts.
qreal barGapFactor() const
bool operator==(const BarAttributes &) const
qreal fixedBarWidth() const
void setGroupGapFactor(qreal gapFactor)
bool drawSolidExcessArrows() const
bool useFixedValueBlockGap() const
qreal fixedValueBlockGap() const