#include <Axis.h>
Public Member Functions | |
Axis () | |
void | enable (bool b) |
bool | enabled () |
void | setScale (TScale s) |
TScale | Scale () |
void | setLabel (Label *label) |
void | setScaling (double s) |
double | getScaling () |
void | setShift (double s) |
double | getShift () |
Label * | label () |
void | setTicsLabelRotation (double r) |
double | getTicsLabelRotation () |
void | setTicLabelPrefix (QString p) |
QString | getTicLabelPrefix () |
void | setTicLabelSuffix (QString s) |
QString | getTicLabelSuffix () |
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 | getDateTimeFormat () |
void | setTicsLabelPrecision (int tmp) |
int | ticsLabelPrecision () |
void | setMajorTics (int t) |
int | majorTics () |
void | setMinorTics (int t) |
int | minorTics () |
void | enableMajorTics (bool b) |
void | enableMinorTics (bool b) |
bool | majorTicsEnabled () |
bool | minorTicsEnabled () |
void | setTicsPos (int tp) |
int | getTicsPos () |
void | setBorderColor (QColor col) |
QColor | borderColor () |
void | setGridColor (QColor col) |
QColor | gridColor () |
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 |
QColor | bc |
QColor | gc |
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 ? |
|
general axis class |
|
|
|
enable axis |
|
axis enabled ? |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
format for time tic label
|
|
axis enabled ?
|
|
|
|
|
|
number of major tics
|
|
major tics enabled ?
|
|
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
|