14 #include <KDABLibFakes>
20 class BarAttributes::Private
29 bool useFixedDatasetGap =
false;
30 qreal valueBlockGap = 24;
39 BarAttributes::Private::Private()
49 : _d(new Private(*r.
d))
89 d->useFixedDatasetGap = gapIsFixed;
94 return d->useFixedDatasetGap;
99 d->valueBlockGap = gap;
104 return d->valueBlockGap;
109 d->useFixedValueBlockGap = gapIsFixed;
114 return d->useFixedValueBlockGap;
134 return d->useFixedBarWidth;
139 d->groupGapFactor = gapFactor;
144 return d->groupGapFactor;
149 d->barGapFactor = gapFactor;
154 return d->barGapFactor;
159 d->drawSolidExcessArrows = solidArrows;
164 return d->drawSolidExcessArrows;
Set of attributes for changing the appearance of bar charts.
void setBarGapFactor(qreal gapFactor)
bool useFixedDataValueGap() const
void setUseFixedDataValueGap(bool gapIsFixed)
BarAttributes & operator=(const BarAttributes &)
qreal groupGapFactor() const
void setFixedValueBlockGap(qreal gap)
bool operator==(const BarAttributes &) const
qreal fixedDataValueGap() const
bool drawSolidExcessArrows() const
bool useFixedBarWidth() const
qreal barGapFactor() const
qreal fixedBarWidth() const
void setUseFixedBarWidth(bool useFixedBarWidth)
void setFixedBarWidth(qreal width)
void setFixedDataValueGap(qreal gap)
void setDrawSolidExcessArrows(bool solidArrows)
void setUseFixedValueBlockGap(bool gapIsFixed)
bool useFixedValueBlockGap() const
qreal fixedValueBlockGap() const
void setGroupGapFactor(qreal gapFactor)