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.
我可以通过以下方式在 QtChart 中设置当前轴范围:
chart()->axisX()->setRange(min,max);
获得当前轴范围的等价物是什么?
QAbstractAxis只有一个 setter,但他所有的孩子都有访问功能。
例子 :QLogValueAxis::min(); QLogValueAxis::max();
QLogValueAxis::min();
QLogValueAxis::max();