#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 | Scaling () |
| void | setShift (double s) |
| double | Shift () |
| 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) |
| void | enableMinorTics (bool b) |
| bool | MajorTicsEnabled () |
| bool | MinorTicsEnabled () |
| void | setTicsPos (int tp) |
| int | TicsPos () |
| 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 ? | |
| int | gap |
| gap between tic label and axis | |
|
|
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 ?
|
|
|
gap between tic label and axis
|
|
|
|
|
|
|
|
|
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
|
1.3.6