@@ -777,22 +777,22 void QAbstractBarSeriesPrivate::initializeAxes() | |||
|
777 | 777 | |
|
778 | 778 | if (axis->type() == QAbstractAxis::AxisTypeBarCategory) { |
|
779 | 779 | switch (q->type()) { |
|
780 |
|
|
|
781 |
|
|
|
782 |
|
|
|
780 | case QAbstractSeries::SeriesTypeHorizontalBar: | |
|
781 | case QAbstractSeries::SeriesTypeHorizontalPercentBar: | |
|
782 | case QAbstractSeries::SeriesTypeHorizontalStackedBar: | |
|
783 | 783 | if (axis->orientation() == Qt::Vertical) |
|
784 | 784 | populateCategories(qobject_cast<QBarCategoryAxis *>(axis)); |
|
785 |
|
|
|
786 |
|
|
|
787 |
|
|
|
788 |
|
|
|
789 |
|
|
|
785 | break; | |
|
786 | case QAbstractSeries::SeriesTypeBar: | |
|
787 | case QAbstractSeries::SeriesTypePercentBar: | |
|
788 | case QAbstractSeries::SeriesTypeStackedBar: | |
|
789 | case QAbstractSeries::SeriesTypeBoxPlot: | |
|
790 | 790 | if (axis->orientation() == Qt::Horizontal) |
|
791 | populateCategories(qobject_cast<QBarCategoryAxis *>(axis)); | |
|
792 |
|
|
|
793 |
|
|
|
791 | populateCategories(qobject_cast<QBarCategoryAxis *>(axis)); | |
|
792 | break; | |
|
793 | default: | |
|
794 | 794 | qWarning() << "Unexpected series type"; |
|
795 |
|
|
|
795 | break; | |
|
796 | 796 | } |
|
797 | 797 | } |
|
798 | 798 | } |
General Comments 0
You need to be logged in to leave comments.
Login now