Enumerations | Functions
QwtAxis Namespace Reference

Enumerations

enum  { AxisPositions = XTop + 1 }
 Number of axis positions. More...
 
enum  Position { YLeft, YRight, XBottom, XTop }
 Axis position. More...
 

Functions

bool isValid (int axisPos)
 
bool isXAxis (int axisPos)
 
bool isYAxis (int axisPos)
 

Detailed Description

Enums and methods for axes

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Number of axis positions.

Enumerator
AxisPositions 

Definition at line 44 of file qwt_axis.h.

◆ Position

Axis position.

Enumerator
YLeft 

Y axis left of the canvas.

YRight 

Y axis right of the canvas.

XBottom 

X axis below the canvas.

XTop 

X axis above the canvas.

Definition at line 28 of file qwt_axis.h.

Function Documentation

◆ isValid()

bool QwtAxis::isValid ( int  axisPos)
inline
Returns
true, when axisPos is in the valid range [ YLeft, XTop ]

Definition at line 45 of file qwt_axis.h.

◆ isXAxis()

bool QwtAxis::isXAxis ( int  axisPos)
inline
Returns
true, when axisPos is XBottom or XTop

Definition at line 51 of file qwt_axis.h.

◆ isYAxis()

bool QwtAxis::isYAxis ( int  axisPos)
inline
Returns
true, when axisPos is YLeft or YRight

Definition at line 57 of file qwt_axis.h.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:52