Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

oofOrdinalStackedBarGraph Class Reference
[OOFILE Graphing engine.]

#include <oofGrphs.h>

Inheritance diagram for oofOrdinalStackedBarGraph:

Inheritance graph
[legend]
Collaboration diagram for oofOrdinalStackedBarGraph:

Collaboration graph
[legend]
List of all members.

Detailed Description

Graph of oofGeoBar horizontal bars where each series is percentage of one bar, all same length.

Better for comparing how proportions change over X (usually time).

See also:
oofStackedBarGraph for similar graph without ordinal restriction


Public Types

enum  { BarWidth = 20 }
enum  { Spacing = 4 }
enum  { SeriesSpacing = 10 }

Public Member Functions

 oofOrdinalStackedBarGraph (dbView *clonedView=0)
virtual oofGraphclone () 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 *)
dbViewgetView ()
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 oofGraphSettingssettings () const
oofGraphSettingsgetLocalSettings ()
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 oofDrawStyledrawStyle () const
void setOverlaid (unsigned long numOverlaid)
void setOverlayView (dbView *clonedView)
 will become adoptedView in future

void setOverlayView (const dbView &clonedView)
dbViewgetOverlayView () const
unsigned long getNumOverlaid () const

Static Public Member Functions

oofGraphcurrentGraph ()
oofGraphSettingsdefaultSettings ()

Protected Member Functions

virtual void DrawSelf ()
virtual void DescribeSelf (std::ostream &os) const
void becomeCurrent ()

Protected Attributes

oofPlotBits mPlotBits
oofSeriesSet mSeriesSet
bool mIsMono
oofGraphSettingsmSettings
bool mDrawStylesWereSet
dbViewmView
OOF_String mTitle
OOF_String mType
oofDrawStylemDrawStyle
unsigned long mNumOverlaid
 Allow for items in the main view to be overlaid.

dbViewmOverlayView
 OWNED Allow for adding another view (long) with an overlay in it.


Static Protected Attributes

oofGraphsCurrentGraph


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
BarWidth 

anonymous enum
 

Enumeration values:
Spacing 

anonymous enum
 

Enumeration values:
SeriesSpacing 


Constructor & Destructor Documentation

oofOrdinalStackedBarGraph::oofOrdinalStackedBarGraph dbView clonedView = 0  ) 
 


Member Function Documentation

void oofGraph::becomeCurrent  )  [protected, inherited]
 

void oofGraph::clearTransform  )  [inline, inherited]
 

oofGraph * oofOrdinalStackedBarGraph::clone  )  const [virtual]
 

Implements oofGraph.

oofGraph * oofGraph::currentGraph  )  [static, inherited]
 

oofGraphSettings * oofGraph::defaultSettings  )  [static, inherited]
 

void oofGraph::describe std::ostream &  os  )  const [inherited]
 

void oofGraph::DescribeSelf std::ostream &  os  )  const [protected, virtual, inherited]
 

void oofGraph::draw  )  [inherited]
 

void oofGraph::DrawSelf  )  [protected, virtual, inherited]
 

const oofDrawStyle * oofColorable::drawStyle  )  const [inline, inherited]
 

bool oofGraph::drawStylesWereSet  )  const [inline, inherited]
 

void oofOrdinalStackedBarGraph::finishConstruction dbView ,
const char *  theTitle,
unsigned long  yAxisHeight
[virtual]
 

Implements oofGraph.

void oofGraph::finishConstructionWithPresets  )  [virtual, inherited]
 

oofGraphSettings * oofGraph::getLocalSettings  )  [inherited]
 

unsigned long OOF_mixOverlayableGraph::getNumOverlaid  )  const [inline, inherited]
 

dbView * OOF_mixOverlayableGraph::getOverlayView  )  const [inline, inherited]
 

const char * oofGraph::getTitle  )  [inherited]
 

const char * oofGraph::getType  )  [inherited]
 

dbView * oofGraph::getView  )  [inherited]
 

void oofColorable::setDrawStyle const oofDrawStyle  )  [inline, inherited]
 

void oofColorable::setDrawStyle const oofColor fg = oofColor::Black,
const oofPattern pat = oofPattern::gray,
const oofPattern mono = oofPattern::gray,
const oofColor bg = oofColor::White
[inline, inherited]
 

void oofGraph::setDrawStyles oofDrawStyleArray  )  [inherited]
 

void oofGraph::setDrawStyles oofDrawStyleSet  )  [inherited]
 

void OOF_mixOverlayableGraph::setOverlaid unsigned long  numOverlaid  )  [inherited]
 

void OOF_mixOverlayableGraph::setOverlayView const dbView clonedView  )  [inherited]
 

void OOF_mixOverlayableGraph::setOverlayView dbView clonedView  )  [inherited]
 

will become adoptedView in future

void oofGraph::setPaneRect oofRect  inRect  )  [inherited]
 

void oofGraph::setPaneRect Rect  inRect  )  [inherited]
 

void oofGraph::setStyleToColor  )  [inherited]
 

void oofGraph::setStyleToMono  )  [inherited]
 

const oofGraphSettings * oofGraph::settings  )  const [inherited]
 

void oofGraph::setTitle const char *   )  [inherited]
 

void oofGraph::setView dbView  )  [inherited]
 


Member Data Documentation

oofDrawStyle* oofColorable::mDrawStyle [protected, inherited]
 

bool oofGraph::mDrawStylesWereSet [protected, inherited]
 

bool oofGraph::mIsMono [protected, inherited]
 

unsigned long OOF_mixOverlayableGraph::mNumOverlaid [protected, inherited]
 

Allow for items in the main view to be overlaid.

dbView* OOF_mixOverlayableGraph::mOverlayView [protected, inherited]
 

OWNED Allow for adding another view (long) with an overlay in it.

oofPlotBits oofGraph::mPlotBits [protected, inherited]
 

oofSeriesSet oofGraph::mSeriesSet [protected, inherited]
 

oofGraphSettings* oofGraph::mSettings [protected, inherited]
 

OOF_String oofGraph::mTitle [protected, inherited]
 

OOF_String oofGraph::mType [protected, inherited]
 

dbView* oofGraph::mView [protected, inherited]
 

oofGraph * oofGraph::sCurrentGraph [static, protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Fri Jan 2 01:04:50 2004 for OOFILE by doxygen 1.3.5