Definition at line 62 of file barchart.h.
typedef std::map<double, std::string> OSB_GUI::BarChartInfo::Ticks |
OSB_GUI::BarChartInfo::BarChartInfo | ( | double | minX = 0.0 , |
|
double | maxX = 0.0 | |||
) | [explicit, protected] |
Constructor with optional min. and max x-value.
virtual OSB_GUI::BarChartInfo::~BarChartInfo | ( | ) | [virtual] |
Empty virtual constructor.
OSB_GUI::BarChartInfo::BarChartInfo | ( | const BarChartInfo & | rhs | ) | [private] |
Prevent copying: not implemented.
int OSB_GUI::BarChartInfo::leftOff | ( | ) | const [inline] |
Space needed left of left-most tick-label.
Definition at line 119 of file barchart.h.
References leftOff_.
double OSB_GUI::BarChartInfo::max | ( | ) | const [inline] |
double OSB_GUI::BarChartInfo::min | ( | ) | const [inline] |
int OSB_GUI::BarChartInfo::minBarWidth | ( | ) | const [inline] |
void OSB_GUI::BarChartInfo::minLabelWidth | ( | int | minWidth | ) | [signal] |
Minimum width of labels has changed.
int OSB_GUI::BarChartInfo::minLabelWidth | ( | ) | const [inline] |
Minimum width needed for the labels.
Definition at line 109 of file barchart.h.
References minLabelWidth_.
BarChartInfo& OSB_GUI::BarChartInfo::operator= | ( | const BarChartInfo & | rhs | ) | [private] |
Prevent assignment: not implemented.
virtual void OSB_GUI::BarChartInfo::resetGeometry | ( | ) | [virtual] |
Reset the geometry information.
No signals are emited from this function.
int OSB_GUI::BarChartInfo::rightOff | ( | ) | const [inline] |
Space needed right of right-most tick-label.
Definition at line 124 of file barchart.h.
References rightOff_.
virtual double OSB_GUI::BarChartInfo::scaleX | ( | double | x | ) | [pure virtual] |
Transform a x-value.
void OSB_GUI::BarChartInfo::setLeftOff | ( | int | leftOff | ) |
Set the minimum space needed left for the left-most tick's label.
void OSB_GUI::BarChartInfo::setMinBarWidth | ( | int | minWidth | ) |
Set the minimum width of the bars.
void OSB_GUI::BarChartInfo::setMinLabelWidth | ( | int | minWidth | ) |
Set the minimum with for the labels.
Emits minLabelWidth(int) if the minimum width for the labels was increased.
void OSB_GUI::BarChartInfo::setRightOff | ( | int | rightOff | ) |
Set the minimum space needed right for the right-most tick's label.
const Ticks& OSB_GUI::BarChartInfo::ticks | ( | ) | const [inline] |
Unscaled ticks and labels of the x-axis.
Definition at line 101 of file barchart.h.
References ticks_.
int OSB_GUI::BarChartInfo::leftOff_ [protected] |
Space needed left of left-most tick-label.
Definition at line 178 of file barchart.h.
Referenced by leftOff().
double OSB_GUI::BarChartInfo::max_ [protected] |
double OSB_GUI::BarChartInfo::min_ [protected] |
int OSB_GUI::BarChartInfo::minBarWidth_ [protected] |
int OSB_GUI::BarChartInfo::minLabelWidth_ [protected] |
Minimum width needed for the labels.
Definition at line 174 of file barchart.h.
Referenced by minLabelWidth().
int OSB_GUI::BarChartInfo::rightOff_ [protected] |
Space needed right of right-most tick-label.
Definition at line 180 of file barchart.h.
Referenced by rightOff().
Ticks OSB_GUI::BarChartInfo::ticks_ [protected] |
Unscaled ticks and labels of the x-axis.
Definition at line 169 of file barchart.h.
Referenced by ticks().