QCustomPlot Discussion and Comments

Programmatically selection of QCPAxis possible?Return to overview

Hi, i need programmtically selection of QCPAxis objects. The "setSelected()" methode doesn't exist here like e.g. for QCPGraph objects. Is there another way do to this?

QCPAxis is a multi-part object, because multiple parts of it are selectable individually. Multi-part objects don't use setSelected but setSelectedParts. The documentation will help you use it correctly.