ScatterChart2D Example
#include <QtitanChart.h>
#include "DemoChartWindow.h"
class QComboBox;
class QDoubleSpinBox;
class QSlider;
class MainWindow : public DemoChartWindow
{
Q_OBJECT
protected:
enum SeriesType
{
PointsSeries,
BubbleSeries,
Bubble3DSeries,
};
public:
MainWindow();
protected:
void createSeriesParametrs();
void createPointsSeries();
void createBubbleSeries();
void createBubble3DSeries();
virtual void updateValueParameters();
protected slots:
void seriesChanged(int);
void transparencyChanged(int);
void valueMinChanged(double);
void valueMaxChanged(double);
protected:
QComboBox* m_seriesSwitcher;
QGroupBox* m_pointsSeriesBox;
QLabel* m_minLabelBox;
QDoubleSpinBox* m_minBox;
QLabel* m_maxLabelBox;
QDoubleSpinBox* m_maxBox;
QSlider* m_transparency;
private:
Q_DISABLE_COPY(MainWindow)
};