QwtErrorPlotCurve Class Reference

#include <QwtErrorPlotCurve.h>

Inheritance diagram for QwtErrorPlotCurve:

DataCurve PlotCurve

List of all members.


Detailed Description

Error bars curve.

Public Types

enum  Orientation { Horizontal = 0, Vertical = 1 }

Public Member Functions

QwtDoubleRect boundingRect () const
int capLength ()
QColor color ()
void copy (const QwtErrorPlotCurve *e)
void detachFromMasterCurve ()
 Causes the master curve to delete this curve from its managed error bars list.
int direction ()
void drawMinusSide (bool yes)
void drawPlusSide (bool yes)
void drawThroughSymbol (bool yes)
QwtArray< double > errors ()
double errorValue (int i)
void loadData ()
DataCurvemasterCurve ()
 Returns the master curve to which this error bars curve is attached.
bool minusSide ()
QString plotAssociation ()
 A list of data sources for this curve.
bool plusSide ()
 QwtErrorPlotCurve (Table *t, const char *name)
 QwtErrorPlotCurve (int orientation, Table *t, const char *name)
void setCapLength (int t)
void setColor (const QColor &c)
void setDirection (int o)
void setErrors (const QwtArray< double > &data)
void setMasterCurve (DataCurve *c)
void setWidth (int w)
void setXErrors (bool yes)
bool throughSymbol ()
bool updateData (Table *t, const QString &colName)
int width ()
bool xErrors ()

Private Member Functions

virtual void draw (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const
void drawErrorBars (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const

Private Attributes

int cap
 Length of the bar cap decoration.
DataCurved_master_curve
 Reference to the master curve to which this error bars curve is attached.
QwtArray< double > err
 Stores the error bar values.
bool minus
bool plus
bool through
int type
 Orientation of the bars: Horizontal or Vertical.

Member Enumeration Documentation

enum QwtErrorPlotCurve::Orientation

Enumerator:
Horizontal 
Vertical 


Constructor & Destructor Documentation

QwtErrorPlotCurve::QwtErrorPlotCurve ( int  orientation,
Table t,
const char *  name 
)

QwtErrorPlotCurve::QwtErrorPlotCurve ( Table t,
const char *  name 
)


Member Function Documentation

QwtDoubleRect QwtErrorPlotCurve::boundingRect (  )  const

Reimplemented from PlotCurve.

int QwtErrorPlotCurve::capLength (  )  [inline]

QColor QwtErrorPlotCurve::color (  )  [inline]

void QwtErrorPlotCurve::copy ( const QwtErrorPlotCurve e  ) 

void QwtErrorPlotCurve::detachFromMasterCurve (  )  [inline]

Causes the master curve to delete this curve from its managed error bars list.

int QwtErrorPlotCurve::direction (  )  [inline]

void QwtErrorPlotCurve::draw ( QPainter *  painter,
const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
int  from,
int  to 
) const [private, virtual]

void QwtErrorPlotCurve::drawErrorBars ( QPainter *  painter,
const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
int  from,
int  to 
) const [private]

void QwtErrorPlotCurve::drawMinusSide ( bool  yes  )  [inline]

void QwtErrorPlotCurve::drawPlusSide ( bool  yes  )  [inline]

void QwtErrorPlotCurve::drawThroughSymbol ( bool  yes  )  [inline]

QwtArray<double> QwtErrorPlotCurve::errors (  )  [inline]

double QwtErrorPlotCurve::errorValue ( int  i  ) 

void QwtErrorPlotCurve::loadData (  )  [virtual]

Reimplemented from DataCurve.

DataCurve* QwtErrorPlotCurve::masterCurve (  )  [inline]

Returns the master curve to which this error bars curve is attached.

bool QwtErrorPlotCurve::minusSide (  )  [inline]

QString QwtErrorPlotCurve::plotAssociation (  )  [virtual]

A list of data sources for this curve.

Elements must be in either of the following forms:

Column ids are of the form '<name of table> "_" <name of column>'.

Reimplemented from DataCurve.

bool QwtErrorPlotCurve::plusSide (  )  [inline]

void QwtErrorPlotCurve::setCapLength ( int  t  )  [inline]

void QwtErrorPlotCurve::setColor ( const QColor &  c  ) 

void QwtErrorPlotCurve::setDirection ( int  o  )  [inline]

void QwtErrorPlotCurve::setErrors ( const QwtArray< double > &  data  )  [inline]

void QwtErrorPlotCurve::setMasterCurve ( DataCurve c  ) 

void QwtErrorPlotCurve::setWidth ( int  w  ) 

void QwtErrorPlotCurve::setXErrors ( bool  yes  ) 

bool QwtErrorPlotCurve::throughSymbol (  )  [inline]

bool QwtErrorPlotCurve::updateData ( Table t,
const QString &  colName 
) [virtual]

Reimplemented from DataCurve.

int QwtErrorPlotCurve::width (  )  [inline]

bool QwtErrorPlotCurve::xErrors (  ) 


Member Data Documentation

int QwtErrorPlotCurve::cap [private]

Length of the bar cap decoration.

DataCurve* QwtErrorPlotCurve::d_master_curve [private]

Reference to the master curve to which this error bars curve is attached.

QwtArray<double> QwtErrorPlotCurve::err [private]

Stores the error bar values.

bool QwtErrorPlotCurve::minus [private]

bool QwtErrorPlotCurve::plus [private]

bool QwtErrorPlotCurve::through [private]

int QwtErrorPlotCurve::type [private]

Orientation of the bars: Horizontal or Vertical.


The documentation for this class was generated from the following files:
Generated on Mon Oct 15 06:11:43 2007 for QtiPlot by  doxygen 1.5.3