PolarChart2D Example
#include <QtitanChart.h>
#include "DemoChartWindow.h"
class QComboBox;
class QDoubleSpinBox;
class QSlider;
class QCheckBox;
class MainWindow : public DemoChartWindow
{
Q_OBJECT
protected:
enum SeriesType
{
PolarPointSeries,
PolarLineSeries,
PolarAreaSeries,
PolarRadarSpline,
};
public:
MainWindow();
protected:
void createSeriesParametrs();
void createPolarPointSeries();
void createPolarLineSeries();
void createPolarAreaSeries();
void createPolarSplineSeries();
protected:
virtual void updateValueParameters();
protected slots:
void seriesChanged(int index);
protected:
QComboBox* m_seriesSwitcher;
private:
Q_DISABLE_COPY(MainWindow)
};