DyHistogramEqualEntries.cxx
Go to the documentation of this file.
1 
12 // for truncation warning in debug mode
13 #ifdef _MSC_VER
14 #include "msdevstudio/MSconfig.h"
15 #endif
16 
18 
20 #include "reps/ColumnPointRep.h"
21 
22 // using namespace hippodraw;
23 namespace hippodraw {
24 
26  : DataRep ()
27 {
28  m_name = "Histogram (EqualEntries)";
29 
31  m_rep = new ColumnPointRep();
32 }
33 
35 {
36  return new DyHistogramEqualEntries ( *this );
37 }
38 
40 {
41  return num == 1;
42 }
43 
44 bool
47 {
48  return true;
49 }
50 
51 void
54 {
55  DataRep::setPointRep ( rep );
56  if ( rep -> name () == "Symbol" ) {
57  rep -> setSize ( 4. );
58  setErrorDisplay ( Axes::Y, true );
59  notifyObservers ();
60  }
61 }
62 
63 bool
66 {
67  return axis == Axes::X || axis == Axes::Y;
68 }
69 
70 } // namespace hippodraw

Generated for HippoDraw Class Library by doxygen