##// END OF EJS Templates
barchart separators fixed, layout fixed
barchart separators fixed, layout fixed

File last commit:

r481:676000b99479
r505:ffc461f7ce12
Show More
qscatterseries.h
52 lines | 1.1 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:
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:
Michal Klocek
Fixes for docs , adds xyseries docs
r481 void clicked(const QPointF& point);
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