##// END OF EJS Templates
floating value layout fix for barchart
floating value layout fix for barchart

File last commit:

r470:5c708e3e7c7c
r474:93c2b5b16561
Show More
qscatterseries.h
54 lines | 1.2 KiB | text/x-c | CLexer
Tero Ahola
Integrated scatter type series...
r42 #ifndef QSCATTERSERIES_H
#define QSCATTERSERIES_H
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 #include "qchartglobal.h"
#include "qxyseries.h"
Tero Ahola
Resizing of QGraphicItems now possible by resize signal from QChart
r48 #include <QRectF>
Tero Ahola
Draft implementation for setting color themes for a chart
r64 #include <QColor>
Tero Ahola
Integrated scatter type series...
r42
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QScatterSeriesPrivate;
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 class QTCOMMERCIALCHART_EXPORT QScatterSeries : public QXYSeries
Tero Ahola
Integrated scatter type series...
r42 {
Q_OBJECT
Tero Ahola
Scatter series marker visuals
r195
public:
enum MarkerShape {
// TODO: to be defined by the graphics design
// TODO: marker shapes: "x", star, rectangle, tilted rect, triangle, circle, dot
MarkerShapeDefault = 0,
MarkerShapeX,
MarkerShapeRectangle,
Tero Ahola
Scatter API review: changed signal now private etc.
r459 MarkerShapeRoundedRectangle,
Tero Ahola
Scatter series marker visuals
r195 MarkerShapeTiltedRectangle,
MarkerShapeTriangle,
MarkerShapeCircle
};
Tero Ahola
Integrated scatter type series...
r42 public:
Tero Ahola
Refactored series creation with QChart
r61 QScatterSeries(QObject *parent = 0);
Tero Ahola
Integrated scatter type series...
r42 ~QScatterSeries();
public: // from QChartSeries
Michal Klocek
Rename QChartSeries to QSeries
r360 QSeriesType type() const { return QSeries::SeriesTypeScatter; }
Tero Ahola
Integrated scatter type series...
r42
Tero Ahola
Integrated scatter again. Missing functionality....
r158 public:
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 //int closestPoint(QPointF coordinate);
Tero Ahola
Modifying QScatterSeries API
r179
Tero Ahola
Scatter API review: changed signal now private etc.
r459 MarkerShape shape() const;
Tero Ahola
Fixing review findings in QScatterSeries
r358 void setShape(MarkerShape shape);
Tero Ahola
Scatter API review: changed signal now private etc.
r459 qreal size() const;
Tero Ahola
Added size customization to QScatterSeries
r397 void setSize(qreal size);
Tero Ahola
Modifying QScatterSeries API
r179
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 signals:
Tero Ahola
Clicked, remove and clear to QScatterSeries
r394 void clicked(QPointF coordinate);
Tero Ahola
Integrated scatter again. Missing functionality....
r158
Tero Ahola
Integrated scatter type series...
r42 private:
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 MarkerShape m_shape;
qreal m_size;
Tero Ahola
Integrated scatter type series...
r42 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QSCATTERSERIES_H