#include <Axis.h>
Public Member Functions | |
Axis () | |
general axis class | |
void | enable (bool b=true) |
bool | enabled () |
void | setScale (TScale s) |
TScale | Scale () |
void | setLabel (Label *label) |
void | setScaling (double s) |
double | Scaling () |
void | setShift (double s) |
double | Shift () |
Label * | getLabel () |
Label * | label () |
void | setTicsLabelRotation (double r) |
double | TicsLabelRotation () |
void | setTicsLabelPrefix (QString p) |
QString | TicsLabelPrefix () |
void | setTicsLabelSuffix (QString s) |
QString | TicsLabelSuffix () |
void | setTicsFont (QFont a) |
QFont | TicsFont () |
void | setTicsColor (QColor col) |
QColor | TicsColor () |
void | setTicsLabelColor (QColor col) |
QColor | TicsLabelColor () |
void | setTicsLabelFormat (TFormat tmp) |
TFormat | TicsLabelFormat () |
void | setDateTimeFormat (QString f) |
QString | DateTimeFormat () |
void | setTicsLabelPrecision (int tmp) |
int | TicsLabelPrecision () |
void | setTicsLabelGap (int g) |
int | TicsLabelGap () |
void | setMajorTics (int t) |
int | MajorTics () |
void | setMinorTics (int t) |
int | MinorTics () |
void | enableMajorTics (bool b=true) |
void | enableMinorTics (bool b=true) |
bool | MajorTicsEnabled () |
bool | MinorTicsEnabled () |
void | setTicsPos (int tp) |
int | TicsPos () |
void | setMajorTicsWidth (int w) |
int | majorTicsWidth () |
void | setMinorTicsWidth (int w) |
int | minorTicsWidth () |
void | setBorderColor (QColor col) |
QColor | BorderColor () |
void | setBorderWidth (int b) |
int | borderWidth () |
void | setMajorGridColor (QColor c) |
QColor | majorGridColor () |
void | setMinorGridColor (QColor c) |
QColor | minorGridColor () |
void | setMajorGridType (Qt::PenStyle t) |
Qt::PenStyle | MajorGridType () |
void | setMinorGridType (Qt::PenStyle t) |
Qt::PenStyle | MinorGridType () |
void | setMajorGridWidth (int w) |
int | majorGridWidth () |
void | setMinorGridWidth (int w) |
int | minorGridWidth () |
Private Attributes | |
bool | e |
axis enabled ? | |
TScale | scale |
double | scaling |
double | shift |
scaling and shift of axes tic values | |
Label * | l |
double | tlrotation |
tic label rotation | |
QString | tlprefix |
QString | tlsuffix |
tic label prefix and suffix | |
QFont | tf |
axis/tics label font | |
QColor | tc |
QColor | tlc |
TFormat | atlf |
tics label format | |
QString | datetimeformat |
format for time tic label | |
int | tlp |
tics label precision | |
int | ticspos |
tics label position 0:out 1:in 2:in&out 3:none | |
int | majortics |
number of major tics | |
int | minortics |
number of minor tics | |
bool | majorticse |
major tics enabled ? | |
bool | minorticse |
minor tics enabled ? | |
int | gap |
gap between tic label and axis | |
QColor | bc |
border color | |
QColor | majorgridcolor |
QColor | minorgridcolor |
Qt::PenStyle | majorgridtype |
major grid style (solid,dashed,dotted,...) | |
Qt::PenStyle | minorgridtype |
minor grid style (solid,dashed,dotted,...) | |
int | majorticswidth |
int | minorticswidth |
int | borderwidth |
int | majorgridwidth |
int | minorgridwidth |
|
general axis class
|
|
|
|
|
|
|
|
enable axis |
|
axis enabled ? |
|
|
|
|
|
get axis label |
|
get axis label |
|
|
|
|
|
|
|
get number of major tics |
|
|
|
|
|
|
|
|
|
|
|
get number of minor tics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set axis label |
|
|
|
|
|
|
|
set number of major tics |
|
|
|
|
|
|
|
|
|
set number of minor tics |
|
|
|
|
|
|
|
|
|
|
|
set tics label font |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get tics label font |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tics label format
|
|
border color
|
|
|
|
format for time tic label
|
|
axis enabled ?
|
|
gap between tic label and axis
|
|
|
|
|
|
major grid style (solid,dashed,dotted,...)
|
|
|
|
number of major tics
|
|
major tics enabled ?
|
|
|
|
|
|
minor grid style (solid,dashed,dotted,...)
|
|
|
|
number of minor tics
|
|
minor tics enabled ?
|
|
|
|
|
|
|
|
scaling and shift of axes tic values
|
|
|
|
axis/tics label font
|
|
tics label position 0:out 1:in 2:in&out 3:none
|
|
|
|
tics label precision
|
|
|
|
tic label rotation
|
|
tic label prefix and suffix
|