PDA

View Full Version : axis question



mesman00
11th November 2008, 22:26
Pretty much every method regarding the axis requires you to pass axisId as a parameter, but I cannot figure out where this is set. Is there a value that is pre-defined for the x and y axis? is this something i have to set? i'm kind of confused on this one.

d_stranz
12th November 2008, 15:54
From qwt_plot.h:


class QWT_EXPORT QwtPlot: public QFrame, public QwtPlotDict
{
friend class QwtPlotCanvas;

Q_OBJECT
Q_PROPERTY( QString propertiesDocument
READ grabProperties WRITE applyProperties )

public:
//! Axis index
enum Axis
{
yLeft,
yRight,
xBottom,
xTop,

axisCnt
};