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


Better for comparing how proportions change over X (usually time).
Public Types | |
| enum | { BarWidth = 20 } |
| enum | { Spacing = 4 } |
| enum | { SeriesSpacing = 10 } |
Public Member Functions | |
| oofOrdinalStackedBarGraph (dbView *clonedView=0) | |
| virtual oofGraph * | clone () const |
| virtual void | finishConstruction (dbView *, const char *theTitle, unsigned long yAxisHeight) |
| 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 | 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 |
| void | setOverlaid (unsigned long numOverlaid) |
| void | setOverlayView (dbView *clonedView) |
| will become adoptedView in future | |
| void | setOverlayView (const dbView &clonedView) |
| dbView * | getOverlayView () const |
| unsigned long | getNumOverlaid () 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 |
| unsigned long | mNumOverlaid |
| Allow for items in the main view to be overlaid. | |
| dbView * | mOverlayView |
| OWNED Allow for adding another view (long) with an overlay in it. | |
Static Protected Attributes | |
| oofGraph * | sCurrentGraph |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements oofGraph. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Implements oofGraph. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
will become adoptedView in future
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Allow for items in the main view to be overlaid.
|
|
|
OWNED Allow for adding another view (long) with an overlay in it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.5