##// END OF EJS Templates
QXYSeries: model data orientation added. QBarSeries: some model data function placeholders
QXYSeries: model data orientation added. QBarSeries: some model data function placeholders

File last commit:

r476:b6fb05e4e56f
r527:b700a12da54b
Show More
linechartitem_p.h
54 lines | 1.1 KiB | text/x-c | CLexer
Michal Klocek
Fix naming convention for lineseries...
r144 #ifndef LINECHARTITEM_H
#define LINECHARTITEM_H
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Tero Ahola
Renamed to QtCommercialChart
r30 #include "qchartglobal.h"
Michal Klocek
Refactor line spline to common xyline...
r465 #include "xychartitem_p.h"
Michal Klocek
Refactor animation to fit line,spline,scatter...
r476 #include "xychartanimationitem_p.h"
Michal Klocek
Refactored for MVP...
r139 #include <QPen>
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Michal Klocek
Refactors qchart , adds line animation...
r131 class ChartPresenter;
Michal Klocek
Rename QLineChartSeries to QLineSeries
r349 class QLineSeries;
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Michal Klocek
Refactor line spline to common xyline...
r465 class LineChartItem : public XYChartItem
Michal Klocek
Refactor current draft to fit int current design specs...
r21 {
Michal Klocek
Refactors qchart , adds line animation...
r131 Q_OBJECT
Michal Klocek
Refactor current draft to fit int current design specs...
r21 public:
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 explicit LineChartItem(QLineSeries* series,QGraphicsItem *parent = 0);
Michal Klocek
Fix naming convention for lineseries...
r144 ~ LineChartItem(){};
Michal Klocek
Refactor current draft to fit int current design specs...
r21
//from QGraphicsItem
Michal Klocek
Add zoom support...
r67 QRectF boundingRect() const;
Tero Ahola
One more alternative for changing themes
r108 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
Michal Klocek
Refactors qchart , adds line animation...
r131 QPainterPath shape() const;
Michal Klocek
Refactored for MVP...
r139
Michal Klocek
Refactor animation to fit line,spline,scatter...
r476 void setLinePen(const QPen& pen);
Michal Klocek
Rewrite animation hadnling in line series...
r389 void setPointsVisible(bool visible);
public slots:
Michal Klocek
Adds updated handling for line series
r392 void handleUpdated();
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Michal Klocek
Refactors linechart update calls
r464 protected:
virtual void setGeometry(QVector<QPointF>& points);
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 private:
void createPoints(int count);
void deletePoints(int count);
Michal Klocek
Refactor line spline to common xyline...
r465 private:
Marek Rosa
Spline with problems
r419 QLineSeries* m_series;
Michal Klocek
Fix commit 7b90ec69ce9a3353820d295c222ef3f79537484d
r391 QGraphicsItemGroup m_items;
Michal Klocek
Refactor line spline to common xyline...
r465 QPainterPath m_path;
QRectF m_rect;
Michal Klocek
Refactored for MVP...
r139 QPen m_pen;
Michal Klocek
Refactors qchart , adds line animation...
r131
Michal Klocek
Refactor animation to fit line,spline,scatter...
r476 template<class,class> friend class XYChartAnimator;
Michal Klocek
Refactors linechart update calls
r464
Michal Klocek
Refactor current draft to fit int current design specs...
r21 };
Michal Klocek
Refactor animation to fit line,spline,scatter...
r476 typedef XYChartAnimationItem<LineChartItem,QLineSeries> LineChartAnimationItem;
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_END_NAMESPACE
Michal Klocek
Refactor current draft to fit int current design specs...
r21
#endif