user7431005
user7431005

Reputation: 4539

QtChart get axis range

I could set the current axis range in a QtChart via:

chart()->axisX()->setRange(min,max);

What is the equivalent to get the current axis range?

Upvotes: 4

Views: 2848

Answers (1)

Eynix
Eynix

Reputation: 76

QAbstractAxis only have a setter but all his children have access functions.

Example : QLogValueAxis::min(); QLogValueAxis::max();

Upvotes: 3

Related Questions