|
Public Types |
| enum | AxisType { AxisTypeUnknown,
AxisTypeEAST,
AxisTypeNORTH,
AxisUP
} |
| enum | AxisPos {
AxisPosSTART = 0,
AxisPosBottom = 0,
AxisPosSagittal = 0,
AxisPosSaggital = 0,
AxisPosLeft = 1,
AxisPosCircular = 1,
AxisPosLowerRightEdge = 2,
AxisPosTop = 3,
AxisPosRight = 4,
AxisPosLowerLeftEdge = 5,
AxisPosAdditionalsSTART = 6,
AxisPosBottom2 = 6,
AxisPosLeft2 = 7,
AxisPosLowerRightEdge2 = 8,
AxisPosTop2 = 9,
AxisPosRight2 = 10,
AxisPosLowerLeftEdge2 = 11,
AxisPosEND = 11
} |
| enum | AxisAreaMode { AxisAreaModeFixedSize,
AxisAreaModeAutoSize,
AxisAreaModeMinMaxSize
} |
| enum | AxisCalcMode { AxisCalcLinear,
AxisCalcLogarithmic
} |
| enum | LabelsFromDataRow { LabelsFromDataRowYes,
LabelsFromDataRowNo,
LabelsFromDataRowGuess
} |
| enum | ValueScale {
ValueScaleNumerical = 0,
ValueScaleSecond = 20,
ValueScaleMinute = 30,
ValueScaleHour = 40,
ValueScaleDay = 50,
ValueScaleWeek = 60,
ValueScaleMonth = 70,
ValueScaleQuarter = 80,
ValueScaleYear = 90
} |
Public Slots |
| void | setAxisType (AxisType axisType) |
| AxisType | axisType () const |
| static QString | axisTypeToString (AxisType type) |
| static AxisType | stringToAxisType (const QString &type) |
| static AxisPos | basicAxisPos (uint pos) |
| void | setAxisVisible (bool axisVisible) |
| bool | axisVisible () const |
| void | setAxisAreaMode (AxisAreaMode axisAreaMode) |
| AxisAreaMode | axisAreaMode () const |
| static QString | axisAreaModeToString (AxisAreaMode mode) |
| static AxisAreaMode | stringToAxisAreaMode (const QString &type) |
| void | setAxisAreaMin (int axisAreaMin) |
| int | axisAreaMin () const |
| void | setAxisUseAvailableSpace (int axisUseAvailableSpaceFrom, int axisUseAvailableSpaceTo) |
| int | axisUseAvailableSpaceFrom () const |
| int | axisUseAvailableSpaceTo () const |
| void | setAxisAreaMax (int axisAreaMax) |
| int | axisAreaMax () const |
| void | setAxisArea (AxisAreaMode axisAreaMode, int axisAreaMin, int axisAreaMax) |
| void | setAxisCalcMode (AxisCalcMode axisCalcMode) |
| AxisCalcMode | axisCalcMode () const |
| static QString | axisCalcModeToString (AxisCalcMode mode) |
| static AxisCalcMode | stringToAxisCalcMode (const QString &type) |
| void | setIsometricReferenceAxis (uint isoRefAxis) |
| uint | isometricReferenceAxis () const |
| void | setAxisTrueAreaSize (int axisTrueAreaSize) |
| int | axisTrueAreaSize () const |
| void | setAxisTrueAreaRect (const QRect &axisTrueAreaRect) |
| QRect | axisTrueAreaRect () const |
| void | setAxisLineVisible (bool axisLineVisible) |
| bool | axisLineVisible () const |
| void | setAxisLineWidth (int axisLineWidth) |
| int | axisLineWidth () const |
| void | setAxisTrueLineWidth (int axisTrueLineWidth) |
| int | axisTrueLineWidth () const |
| void | setAxisLineColor (QColor axisLineColor) |
| QColor | axisLineColor () const |
| void | setAxisShowFractionalValuesDelimiters (bool axisShowFractValDelim) |
| bool | axisShowFractionalValuesDelimiters () const |
| void | setAxisShowGrid (bool axisShowGrid) |
| bool | axisShowGrid () const |
| void | setAxisGridStyle (PenStyle axisGridStyle) |
| PenStyle | axisGridStyle () const |
| void | setAxisGridColor (QColor axisGridColor) |
| QColor | axisGridColor () const |
| void | setAxisGridLineWidth (int axisGridLineWidth) |
| int | axisGridLineWidth () const |
| void | setAxisShowSubDelimiters (bool axisShowSubDelimiters) |
| bool | axisShowSubDelimiters () const |
| void | setAxisGridSubStyle (PenStyle axisGridSubStyle) |
| PenStyle | axisGridSubStyle () const |
| void | setAxisGridSubColor (QColor axisGridSubColor) |
| QColor | axisGridSubColor () const |
| void | setAxisGridSubLineWidth (int axisGridSubLineWidth) |
| int | axisGridSubLineWidth () const |
| void | setAxisZeroLineColor (QColor axisZeroLineColor) |
| QColor | axisZeroLineColor () const |
| void | setAxisLabelsVisible (bool axisLabelsVisible) |
| bool | axisLabelsVisible () const |
| void | setAxisLabelsTouchEdges (bool axisLabelsTouchEdges) |
| bool | axisLabelsTouchEdges () const |
| void | setAxisLabelsFont (QFont axisLabelsFont, bool useFontSize) |
| QFont | axisLabelsFont () const |
| void | setAxisLabelsFontUseRelSize (bool axisLabelsFontUseRelSize) |
| bool | axisLabelsFontUseRelSize () const |
| void | setAxisLabelsFontRelSize (int axisLabelsFontRelSize) |
| int | axisLabelsFontRelSize () const |
| void | setAxisLabelsFontMinSize (int axisLabelsFontMinSize) |
| int | axisLabelsFontMinSize () const |
| void | setAxisLabelsDontShrinkFont (bool labelsDontShrinkFont) |
| bool | axisLabelsDontShrinkFont () const |
| void | setAxisLabelsDontAutoRotate (bool labelsDontAutoRotate) |
| bool | axisLabelsDontAutoRotate () const |
| void | setAxisLabelsRotation (int rotation) |
| int | axisLabelsRotation () const |
| void | setAxisLabelsColor (QColor axisLabelsColor) |
| QColor | axisLabelsColor () const |
| void | setAxisLabelsCalc (int divPow10=0, int digitsBehindComma=KDCHART_AXIS_LABELS_AUTO_DIGITS) |
| int | axisLabelsDivPow10 () const |
| int | axisLabelsDigitsBehindComma () const |
| void | setAxisLabelsRadix (const QString &decimalPoint, const QString &thousandsPoint) |
| QString | axisLabelsDecimalPoint () const |
| QString | axisLabelsThousandsPoint () const |
| void | setAxisLabelsNotation (KDChartEnums::NumberNotation notation) |
| KDChartEnums::NumberNotation | axisLabelsNotation () const |
| void | setAxisLabelsFormat (const QString &prefix="", const QString &postfix="", const int &totalLen=0, const QChar &padFill= ' ', const bool &blockAlign=true) |
| QString | axisLabelsPrefix () const |
| QString | axisLabelsPostfix () const |
| int | axisLabelsTotalLen () const |
| QChar | axisLabelsPadFill () const |
| bool | axisLabelsBlockAlign () const |
| static QString | labelsFromDataRowToString (LabelsFromDataRow mode) |
| static LabelsFromDataRow | stringToLabelsFromDataRow (const QString &type) |
| void | setAxisValues (bool axisSteadyValueCalc=true, const QVariant &axisValueStart=KDCHART_AXIS_LABELS_AUTO_LIMIT, const QVariant &axisValueEnd=KDCHART_AXIS_LABELS_AUTO_LIMIT, double axisValueDelta=KDCHART_AXIS_LABELS_AUTO_DELTA, int axisDigitsBehindComma=KDCHART_AXIS_LABELS_AUTO_DIGITS, int axisMaxEmptyInnerSpan=KDCHART_DONT_CHANGE_EMPTY_INNER_SPAN_NOW, LabelsFromDataRow takeLabelsFromDataRow=LabelsFromDataRowNo, int labelTextsDataRow=0, QStringList *axisLabelStringList=0, QStringList *axisShortLabelsStringList=0, int axisValueLeaveOut=KDCHART_AXIS_LABELS_AUTO_LEAVEOUT, ValueScale axisValueDeltaScale=ValueScaleNumerical) |
| void | setAxisValueStartIsExact (bool isExactValue=true) |
| bool | axisValueStartIsExact () const |
| void | setAxisValueStart (const QVariant &axisValueStart) |
| QVariant | axisValueStart () const |
| void | setAxisValueEnd (const QVariant &axisValueEnd) |
| QVariant | axisValueEnd () const |
| void | setAxisValueDelta (const double axisValueDelta, ValueScale scale=ValueScaleNumerical) |
| double | axisValueDelta () const |
| ValueScale | axisValueDeltaScale () const |
| void | setAxisValueLeaveOut (const int leaveOut) |
| int | axisValueLeaveOut () const |
| void | setAxisValuesDecreasing (bool valuesDecreasing=true) |
| bool | axisValuesDecreasing () const |
| void | setTrueAxisDeltaPixels (double nDeltaPixels) |
| double | trueAxisDeltaPixels () const |
| void | setTrueAxisLowHighDelta (double nLow, double nHigh, double nDelta) |
| double | trueAxisLow () const |
| double | trueAxisHigh () const |
| double | trueAxisDelta () const |
| void | setTrueAxisDtLowHighDeltaScale (QDateTime dtLow, QDateTime dtHigh, ValueScale dtDeltaScale) |
| void | setTrueAxisDtLow (QDateTime dtLow) |
| void | setTrueAxisDtHigh (QDateTime dtHigh) |
| void | setTrueAxisDtScale (ValueScale scale) |
| QDateTime | trueAxisDtLow () const |
| QDateTime | trueAxisDtHigh () const |
| ValueScale | trueAxisDtDeltaScale () const |
| void | setAxisZeroLineStart (double x, double y) |
| double | axisZeroLineStartX () const |
| double | axisZeroLineStartY () const |
| void | setAxisDtLowPos (double x, double y) |
| double | axisDtLowPosX () const |
| double | axisDtLowPosY () const |
| void | setAxisDtHighPos (double x, double y) |
| double | axisDtHighPosX () const |
| double | axisDtHighPosY () const |
| void | setAxisDigitsBehindComma (const int digits) |
| int | axisDigitsBehindComma () const |
| void | setAxisLabelsDateTimeFormat (const QString &format) |
| QString | axisLabelsDateTimeFormat () const |
| void | setAxisMaxEmptyInnerSpan (const int maxEmpty) |
| int | axisMaxEmptyInnerSpan () const |
| void | setLabelTextsFormDataRow (int row, LabelsFromDataRow mode) |
| LabelsFromDataRow | axisLabelTextsFormDataRow () const |
| int | labelTextsDataRow () const |
| void | setAxisLabelStringLists (QStringList *axisLabelStringList, QStringList *axisShortLabelStringList, const QString &valueStart=QString::null, const QString &valueEnd=QString::null) |
| QStringList | axisLabelStringList () const |
| uint | axisLabelStringCount () const |
| QStringList | axisShortLabelsStringList () const |
| uint | axisShortLabelsStringCount () const |
| const QStringList * | axisLabelTexts () const |
| void | setAxisLabelTexts (const QStringList *axisLabelTexts) |
| void | setAxisLabelTextsDirty (bool axisLabelTextsDirty) |
| bool | axisLabelTextsDirty () const |
| void | setAxisFirstLabelText (const QString &axisFirstLabelText=QString()) |
| void | setAxisLastLabelText (const QString &axisLastLabelText=QString()) |
| QString | axisFirstLabelText () const |
| QString | axisLastLabelText () const |
| bool | hasAxisFirstLabelText () const |
| bool | hasAxisLastLabelText () const |
| void | setAxisSteadyValueCalc (bool axisSteadyValueCalc) |
| bool | axisSteadyValueCalc () const |
Signals |
| void | changed () |
Public Member Functions |
| | KDChartAxisParams () |
| virtual | ~KDChartAxisParams () |
| KDChartAxisParams & | operator= (const KDChartAxisParams &R) |
Static Public Member Functions |
| static void | deepCopy (KDChartAxisParams &D, const KDChartAxisParams &R) |
Private Attributes |
| AxisType | _axisType |
| bool | _axisVisible |
| bool | _axisLabelsTouchEdges |
| AxisAreaMode | _axisAreaMode |
| int | _axisUseAvailableSpaceFrom |
| int | _axisUseAvailableSpaceTo |
| int | _axisAreaMin |
| int | _axisAreaMax |
| AxisCalcMode | _axisCalcMode |
| uint | _axisIsoRefAxis |
| int | _axisTrueAreaSize |
| QRect | _axisTrueAreaRect |
| bool | _axisLineVisible |
| int | _axisLineWidth |
| int | _axisTrueLineWidth |
| QColor | _axisLineColor |
| bool | _axisShowFractionalValuesDelimiters |
| bool | _axisShowGrid |
| QColor | _axisGridColor |
| int | _axisGridLineWidth |
| PenStyle | _axisGridStyle |
| bool | _axisShowSubDelimiters |
| QColor | _axisGridSubColor |
| int | _axisGridSubLineWidth |
| PenStyle | _axisGridSubStyle |
| QColor | _axisZeroLineColor |
| bool | _axisLabelsVisible |
| QFont | _axisLabelsFont |
| bool | _axisLabelsFontUseRelSize |
| int | _axisLabelsFontRelSize |
| int | _axisLabelsFontMinSize |
| bool | _axisLabelsDontShrinkFont |
| bool | _axisLabelsDontAutoRotate |
| int | _axisLabelsRotation |
| QColor | _axisLabelsColor |
| bool | _axisSteadyValueCalc |
| bool | _axisValueStartIsExact |
| QVariant | _axisValueStart |
| QVariant | _axisValueEnd |
| double | _axisValueDelta |
| ValueScale | _axisValueDeltaScale |
| int | _axisValueLeaveOut |
| bool | _axisValuesDecreasing |
| double | _trueAxisDeltaPixels |
| double | _trueLow |
| double | _trueHigh |
| double | _trueDelta |
| QDateTime | _trueDtLow |
| QDateTime | _trueDtHigh |
| ValueScale | _trueDtDeltaScale |
| double | _axisZeroLineStartX |
| double | _axisZeroLineStartY |
| double | _axisDtLowPosX |
| double | _axisDtLowPosY |
| double | _axisDtHighPosX |
| double | _axisDtHighPosY |
| int | _axisDigitsBehindComma |
| QString | _axisLabelsDateTimeFormat |
| int | _axisMaxEmptyInnerSpan |
| LabelsFromDataRow | _takeLabelsFromDataRow |
| int | _labelTextsDataRow |
| QStringList | _axisLabelStringList |
| QStringList | _axisShortLabelsStringList |
| QStringList | _axisLabelTexts |
| bool | _axisLabelTextsDirty |
| QString | _axisFirstLabelText |
| QString | _axisLastLabelText |
| int | _axisLabelsDivPow10 |
| QString | _axisLabelsDecimalPoint |
| QString | _axisLabelsThousandsPoint |
| KDChartEnums::NumberNotation | _axisLabelsNotation |
| QString | _axisLabelsPrefix |
| QString | _axisLabelsPostfix |
| int | _axisLabelsTotalLen |
| QChar | _axisLabelsPadFill |
| bool | _axisLabelsBlockAlign |
Friends |
| class | KDChartParams |
| QTextStream & | operator<< (QTextStream &s, const KDChartParams &p) |
| QTextStream & | operator>> (QTextStream &s, KDChartParams &p) |