#include <TxDataSeries.h>
Public Methods | |
| TxDataSeries () | |
| default constructor. More... | |
| TxDataSeries (int, int) | |
| typical constructor: takes two integers that provide access to the x (horizontal) and y (vertical) data. More... | |
| TxDataSeries (const TxDataSeries &) | |
| copy constructor. More... | |
| const TxDataSeries& | operator= (const TxDataSeries &) |
| assignment operator. More... | |
| virtual | ~TxDataSeries () |
| virtual destructor. More... | |
| void | setXIndex (int i) |
| set value of integer used to access x (horizontal) data for this series. More... | |
| int | getXIndex () const |
| get value of integer used to access x (horizontal) data for this series. More... | |
| void | setYIndex (int i) |
| set value of integer used to access y (vertical) data for this series. More... | |
| int | getYIndex () const |
| get value of integer used to access y (vertical) data for this series. More... | |
| void | setType (int t) |
| set value of flag used to specify the plot type (line plot, bar chart, etc). More... | |
| int | getType () const |
| get value of flag used to specify the plot type (line plot, bar chart, etc). More... | |
| void | setSymbol (int s) |
| set value of flag used to specify the symbol for plotted points. More... | |
| int | getSymbol () const |
| get value of flag used to specify the symbol for plotted points. More... | |
Static Public Attributes | |
| const int | connectedPoints |
| flag indicating that (if equal to 0) plotted points are to be connected by a line. More... | |
| const int | noSymbol |
| flag indicating that (if equal to 0) no symbol is to be used when plotting points. More... | |
Private Attributes | |
| int | xIndx |
| Index specifying abscissa data. More... | |
| int | yIndx |
| Index specifying ordinate data. More... | |
| int | type |
| Type of plot: linear, bar, etc (see connectedPoints flag). More... | |
| int | symbol |
| Type of symbol to put at each data point (see noSymbol flag). More... | |
Friends | |
| ostream& | operator<< (ostream &, const TxDataSeries &) |
| overload the output operator. More... | |
This class is heavily used by TxLinePlotDesc objects, which in turn are heavily used by TxLinePlotData objects.
Copyright 1996, 1997, 1998 by Tech-X Corporation
Definition at line 31 of file TxDataSeries.h.
|
|
default constructor.
|
|
|
typical constructor: takes two integers that provide access to the x (horizontal) and y (vertical) data.
|
|
|
copy constructor.
|
|
|
virtual destructor.
Definition at line 49 of file TxDataSeries.h. |
|
|
get value of flag used to specify the symbol for plotted points.
Definition at line 69 of file TxDataSeries.h. |
|
|
get value of flag used to specify the plot type (line plot, bar chart, etc).
Definition at line 64 of file TxDataSeries.h. |
|
|
get value of integer used to access x (horizontal) data for this series.
Definition at line 54 of file TxDataSeries.h. Referenced by TxLinePlotDesc::getXIndex().
|
|
|
get value of integer used to access y (vertical) data for this series.
Definition at line 59 of file TxDataSeries.h. Referenced by TxLinePlotDesc::getYIndex().
|
|
|
assignment operator.
|
|
|
set value of flag used to specify the symbol for plotted points.
Definition at line 67 of file TxDataSeries.h. |
|
|
set value of flag used to specify the plot type (line plot, bar chart, etc).
Definition at line 62 of file TxDataSeries.h. |
|
|
set value of integer used to access x (horizontal) data for this series.
Definition at line 52 of file TxDataSeries.h. |
|
|
set value of integer used to access y (vertical) data for this series.
Definition at line 57 of file TxDataSeries.h. |
|
|
overload the output operator.
|
|
|
flag indicating that (if equal to 0) plotted points are to be connected by a line.
Definition at line 72 of file TxDataSeries.h. |
|
|
flag indicating that (if equal to 0) no symbol is to be used when plotting points.
Definition at line 74 of file TxDataSeries.h. |
|
|
Type of symbol to put at each data point (see noSymbol flag).
Definition at line 85 of file TxDataSeries.h. |
|
|
Type of plot: linear, bar, etc (see connectedPoints flag).
Definition at line 83 of file TxDataSeries.h. |
|
|
Index specifying abscissa data.
Definition at line 79 of file TxDataSeries.h. |
|
|
Index specifying ordinate data.
Definition at line 81 of file TxDataSeries.h. |
Copyright Tech-X Corporation, all rights reserved.