##// END OF EJS Templates
Adaptive layout to legend. Tries to fit all items inside given maximum size
Adaptive layout to legend. Tries to fit all items inside given maximum size

File last commit:

r622:960bcf5125b7
r626:b05202e4f2ef
Show More
chartanimation_p.h
26 lines | 540 B | text/x-c | CLexer
#ifndef CHARTANIMATION_H_
#define CHARTANIMATION_H_
#include "qchartglobal.h"
#include <QVariantAnimation>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartAnimation: public QVariantAnimation
{
public:
enum Animation { LineDrawAnimation, MoveDownAnimation, MoveUpAnimation };
ChartAnimation(QObject* parent=0):QVariantAnimation(parent),m_type(MoveDownAnimation){};
void setAnimationType(Animation type){
m_type=type;
}
protected:
Animation m_type;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* AXISITEM_H_ */