Qwt User's Guide 6.3.0

Loading...
Searching...
No Matches
Enumerations | Functions
QwtAxis Namespace Reference

## Enumerations

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

## Functions

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

## Detailed Description

Enums and methods for axes

## Enumeration Type Documentation

## ◆ anonymous enum

anonymous enum

Number of axis positions.

Definition at line 37 of file qwt_axis.h.

## ◆ Position

enum QwtAxis::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 21 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.