@@ -33,10 +33,10 QChart::QChart(QGraphicsItem *parent, Qt::WindowFlags wFlags) : QGraphicsWidget( | |||||
33 | m_plotDataIndex(0), |
|
33 | m_plotDataIndex(0), | |
34 | m_marginSize(0), |
|
34 | m_marginSize(0), | |
35 | m_chartTheme(new ChartTheme(this)), |
|
35 | m_chartTheme(new ChartTheme(this)), | |
36 |
|
|
36 | m_dataset(0), | |
37 | m_dataset(new ChartDataSet(this)), |
|
37 | //m_dataset(new ChartDataSet(this)), | |
38 |
|
|
38 | m_presenter(0) | |
39 | m_presenter(new ChartPresenter(this,m_dataset)) |
|
39 | //m_presenter(new ChartPresenter(this,m_dataset)) | |
40 | { |
|
40 | { | |
41 | // TODO: the default theme? |
|
41 | // TODO: the default theme? | |
42 | setTheme(QChart::ChartThemeDefault); |
|
42 | setTheme(QChart::ChartThemeDefault); |
General Comments 0
You need to be logged in to leave comments.
Login now