Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将图例项目堆叠在一起(垂直)。
当我做:
QtCharts::QChart *m_pieChart; //member variable m_pieChart->legend()->setAlignment(Qt::AlignRight);
我明白了:
并将对齐设置为底部将图例移动到底部:
m_pieChart->legend()->setAlignment(Qt::AlignBottom);
但是图例项目不再垂直堆叠了!
如何将图例移动到底部并垂直堆叠?