#include <oofGrphs.h>
Inheritance diagram for oofGraph:


Subclasses take at least one dbView to effectively provide an array directly from the database. Has interesting virtual drawing space architecture which makes it react to scaling by trying to rescale nested items.
Public Types | |
| typedef RECT | Rect |
Public Member Functions | |
| oofGraph (oofGraphSettings *adoptedSettings=0) | |
| oofGraph (const oofGraph &rhs) | |
| virtual | ~oofGraph () |
| virtual oofGraph * | clone () const=0 |
| virtual void | finishConstruction (dbView *, const char *theTitle, unsigned long yAxisHeight)=0 |
| virtual void | finishConstructionWithPresets () |
| void | draw () |
| void | describe (std::ostream &os) const |
| void | setView (dbView *) |
| dbView * | getView () |
| void | setTitle (const char *) |
| const char * | getTitle () |
| const char * | getType () |
| void | setPaneRect (Rect inRect) |
| void | setPaneRect (oofRect inRect) |
| void | clearTransform () |
| void | setDrawStyles (oofDrawStyleSet &) |
| void | setDrawStyles (oofDrawStyleArray &) |
| void | setStyleToMono () |
| void | setStyleToColor () |
| bool | drawStylesWereSet () const |
| const oofGraphSettings * | settings () const |
| oofGraphSettings * | getLocalSettings () |
| void | setCurrentDC (HDC hdc) |
| const HDC | getCurrentDC () |
| void | setDrawStyle (const oofColor &fg=oofColor::Black, const oofPattern &pat=oofPattern::gray, const oofPattern &mono=oofPattern::gray, const oofColor &bg=oofColor::White) |
| void | setDrawStyle (const oofDrawStyle &) |
| const oofDrawStyle * | drawStyle () const |
Static Public Member Functions | |
| oofGraph * | currentGraph () |
| oofGraphSettings * | defaultSettings () |
Protected Member Functions | |
| virtual void | DrawSelf () |
| virtual void | DescribeSelf (std::ostream &os) const |
| void | becomeCurrent () |
Protected Attributes | |
| oofPlotBits | mPlotBits |
| oofSeriesSet | mSeriesSet |
| bool | mIsMono |
| oofGraphSettings * | mSettings |
| bool | mDrawStylesWereSet |
| dbView * | mView |
| OOF_String | mTitle |
| OOF_String | mType |
| oofDrawStyle * | mDrawStyle |
Static Protected Attributes | |
| oofGraph * | sCurrentGraph |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implemented in oofColumnGraph, oofPointGraph, oofLineGraph, oofXYGraph, oofBarGraph, oofStackedBarGraph, oofOrdinalStackedBarGraph, and oofPieGraph. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Implemented in oofColumnGraph, oofPointGraph, oofLineGraph, oofXYGraph, oofBarGraph, oofStackedBarGraph, oofOrdinalStackedBarGraph, and oofPieGraph. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.5