##// END OF EJS Templates
Legend disabled by defaut. User can turn in on, by calling setVisible
Legend disabled by defaut. User can turn in on, by calling setVisible

File last commit:

r622:960bcf5125b7
r652:4ab0d58be448
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_ */