@@ -77,7 +77,7 void ChartView::switchChartType() | |||||
77 | // Move series and axes from old chart to new one |
|
77 | // Move series and axes from old chart to new one | |
78 | QList<QAbstractSeries *> seriesList = oldChart->series(); |
|
78 | QList<QAbstractSeries *> seriesList = oldChart->series(); | |
79 | QList<QAbstractAxis *> axisList = oldChart->axes(); |
|
79 | QList<QAbstractAxis *> axisList = oldChart->axes(); | |
80 | QList<QPair<qreal, qreal>> axisRanges; |
|
80 | QList<QPair<qreal, qreal> > axisRanges; | |
81 |
|
81 | |||
82 | foreach (QAbstractAxis *axis, axisList) { |
|
82 | foreach (QAbstractAxis *axis, axisList) { | |
83 | QValueAxis *valueAxis = static_cast<QValueAxis *>(axis); |
|
83 | QValueAxis *valueAxis = static_cast<QValueAxis *>(axis); |
General Comments 0
You need to be logged in to leave comments.
Login now