##// END OF EJS Templates
Added BoxPlot type to axis handling....
Mika Salmela -
r2473:15a5429df290
parent child
Show More
@@ -786,6 +786,7 void QAbstractBarSeriesPrivate::initializeAxes()
786 case QAbstractSeries::SeriesTypeBar:
786 case QAbstractSeries::SeriesTypeBar:
787 case QAbstractSeries::SeriesTypePercentBar:
787 case QAbstractSeries::SeriesTypePercentBar:
788 case QAbstractSeries::SeriesTypeStackedBar:
788 case QAbstractSeries::SeriesTypeStackedBar:
789 case QAbstractSeries::SeriesTypeBoxPlot:
789 if (axis->orientation() == Qt::Horizontal)
790 if (axis->orientation() == Qt::Horizontal)
790 populateCategories(qobject_cast<QBarCategoryAxis *>(axis));
791 populateCategories(qobject_cast<QBarCategoryAxis *>(axis));
791 break;
792 break;
@@ -811,6 +812,7 QAbstractAxis::AxisType QAbstractBarSeriesPrivate::defaultAxisType(Qt::Orientati
811 case QAbstractSeries::SeriesTypeBar:
812 case QAbstractSeries::SeriesTypeBar:
812 case QAbstractSeries::SeriesTypePercentBar:
813 case QAbstractSeries::SeriesTypePercentBar:
813 case QAbstractSeries::SeriesTypeStackedBar:
814 case QAbstractSeries::SeriesTypeStackedBar:
815 case QAbstractSeries::SeriesTypeBoxPlot:
814 if (orientation == Qt::Horizontal)
816 if (orientation == Qt::Horizontal)
815 return QAbstractAxis::AxisTypeBarCategory;
817 return QAbstractAxis::AxisTypeBarCategory;
816 break;
818 break;
General Comments 0
You need to be logged in to leave comments. Login now