##// END OF EJS Templates
Better support for negative values in stacked barcharts. Negative values are stacked from zero to negative direction. Positive values are stacked from zero to positive direction.
Better support for negative values in stacked barcharts. Negative values are stacked from zero to negative direction. Positive values are stacked from zero to positive direction.

File last commit:

r1674:2849be5cffb7
r1897:c0fc53c8ab57
Show More
stackedbaranimation_p.h
35 lines | 855 B | text/x-c | CLexer
/ src / animations / stackedbaranimation_p.h
// W A R N I N G
// -------------
//
// This file is not part of the QtCommercial Chart API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
#ifndef STACKEDBARANIMATION_P_H
#define STACKEDBARANIMATION_P_H
#include "chartanimation_p.h"
#include "abstractbarchartitem_p.h"
#include "abstractbaranimation_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class StackedBarChartItem;
class QBarSet;
class BarSetAnimation;
class StackedBarAnimation : public AbstractBarAnimation
{
Q_OBJECT
public:
StackedBarAnimation(StackedBarChartItem *item);
~StackedBarAnimation();
virtual QVariant interpolated(const QVariant &from, const QVariant &to, qreal progress) const;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // STACKEDBARANIMATION_P_H