|
Public Member Functions |
| | Axis () |
| | general axis class
|
| | ~Axis () |
| QDomElement | saveXML (QDomDocument doc, int id) |
| void | openXML (QDomNode node) |
| void | Enable (bool b=true) |
| bool | Enabled () |
| void | setScale (TScale s) |
| TScale | Scale () |
| void | setLabel (Label *l) |
| Label * | getLabel () |
| void | setScaling (double s) |
| double | Scaling () |
| void | setShift (double s) |
| double | Shift () |
| void | setPosition (int p) |
| int | Position () |
| void | centerX (int plotsize, double center) |
| | center label on x axis
|
| void | centerY (int plotsize, double center) |
| | center label on y axis
|
| bool | tickType () |
| void | setTickType (bool t) |
| bool | tickLabelEnabled () |
| void | enableTickLabel (bool e=true) |
| void | setTickLabelRotation (double r) |
| double | TickLabelRotation () |
| void | setTickLabelPrefix (QString p) |
| QString | TickLabelPrefix () |
| void | setTickLabelSuffix (QString s) |
| QString | TickLabelSuffix () |
| void | setTickLabelFont (QFont a) |
| QFont | TickLabelFont () |
| void | setTickColor (QColor col) |
| QColor | TickColor () |
| void | setTickLabelColor (QColor col) |
| QColor | TickLabelColor () |
| void | setTickLabelFormat (TFormat t) |
| TFormat | TickLabelFormat () |
| void | setDateTimeFormat (QString f) |
| QString | DateTimeFormat () |
| void | setTickLabelPrecision (int p) |
| int | TickLabelPrecision () |
| void | setTickLabelPosition (int g) |
| int | TickLabelPosition () |
| void | setMajorTicks (double t) |
| double | MajorTicks () |
| void | setMinorTicks (int t) |
| int | MinorTicks () |
| void | enableMajorTicks (bool b=true) |
| void | enableMinorTicks (bool b=true) |
| bool | MajorTicksEnabled () |
| bool | MinorTicksEnabled () |
| void | setTickPos (int tp) |
| int | TickPos () |
| void | setMajorTickWidth (int w) |
| int | majorTickWidth () |
| void | setMinorTickWidth (int w) |
| int | minorTickWidth () |
| double | majorTickLength () |
| void | setMajorTickLength (double v) |
| double | minorTickLength () |
| void | setMinorTickLength (double v) |
| bool | BorderEnabled () |
| void | enableBorder (bool b=true) |
| void | setBorderColor (QColor c) |
| QColor | BorderColor () |
| void | setBorderWidth (int b) |
| int | borderWidth () |
| bool | MajorGridEnabled () |
| void | enableMajorGrid (bool b=true) |
| bool | MinorGridEnabled () |
| void | enableMinorGrid (bool b=true) |
| 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 | enabled |
| | axis enabled ?
|
| Label * | label |
| int | position |
| | position : 0: normal 1: center
|
| TScale | scale |
| double | scaling |
| double | shift |
| | scaling and shift of axes tic values
|
| int | ticktype |
| | tick type. 0: NUMBER, 1: INCREMENT
|
| bool | ticklabel_enabled |
| | tick label enabled?
|
| double | ticklabelrotation |
| | tick label rotation
|
| QString | ticklabelprefix |
| QString | ticklabelsuffix |
| | tick label prefix and suffix
|
| QFont | tickfont |
| | axis/tics label font
|
| QColor | tickcolor |
| QColor | ticklabelcolor |
| TFormat | ticklabelformat |
| | tick label format
|
| QString | datetimeformat |
| | format for time tick label
|
| int | ticklabelprecision |
| | tick label precision
|
| int | tickpos |
| | tick label position 0:out 1:in 2:in&out 3:none
|
| double | majorticks |
| | number of / increment for major ticks
|
| int | minorticks |
| | number of minor ticks
|
| bool | majorticks_enabled |
| | major ticks enabled ?
|
| bool | minorticks_enabled |
| | minor ticks enabled ?
|
| int | gap |
| | gap between tick label and axis
|
| bool | border_enabled |
| | border enabled
|
| QColor | bordercolor |
| | border color
|
| int | borderwidth |
| bool | majorgrid_enabled |
| bool | minorgrid_enabled |
| | border enabled
|
| QColor | majorgridcolor |
| QColor | minorgridcolor |
| Qt::PenStyle | majorgridtype |
| | major grid style (solid,dashed,dotted,...)
|
| Qt::PenStyle | minorgridtype |
| | minor grid style (solid,dashed,dotted,...)
|
| int | majortickwidth |
| int | minortickwidth |
| int | majorgridwidth |
| int | minorgridwidth |
| double | majorticklength |
| double | minorticklength |