kchart

KDChartAxisParams.h File Reference


Detailed Description

Provide access to the chart axis parameters.

Use the KDChartAxisParams class to modify parameters of one axis each.

Definition in file KDChartAxisParams.h.

#include <qfont.h>
#include <qcolor.h>
#include <qmap.h>
#include <qobject.h>
#include <qtextstream.h>
#include <qstringlist.h>
#include <qdatetime.h>
#include <qvariant.h>
#include "KDChartGlobal.h"
#include "KDChartEnums.h"

Go to the source code of this file.


Classes

class  KDChartAxisParams
 access the chart axis parameters. More...

Defines

#define KDCHART_AXIS_LABELS_AUTO_LIMIT   QVariant( 140319.64 )
#define KDCHART_AXIS_LABELS_AUTO_DELTA   140319.64
#define KDCHART_AXIS_LABELS_AUTO_LEAVEOUT   14364
#define KDCHART_AXIS_LABELS_AUTO_DATETIME_FORMAT   "AUTO"
#define KDCHART_AXIS_LABELS_AUTO_DIGITS   14364
#define KDCHART_DEFAULT_AXIS_GRID_COLOR   QColor( 0xA0, 0xA0, 0xA0 )
#define KDCHART_AXIS_GRID_AUTO_LINEWIDTH   14364
#define KDCHART_AXIS_IGNORE_EMPTY_INNER_SPAN   1
#define KDCHART_DONT_CHANGE_EMPTY_INNER_SPAN_NOW   -2

Define Documentation

#define KDCHART_AXIS_GRID_AUTO_LINEWIDTH   14364

Use this to specify that the width of the axis grid lines shall be equal to the width of the axis line.

See also:
setAxisGridLineWidth

Definition at line 104 of file KDChartAxisParams.h.

#define KDCHART_AXIS_IGNORE_EMPTY_INNER_SPAN   1

Use this to specify that the zero-line shall NOT be omitted in case all of the data are grouped far away from zero.

See also:
setAxisValues

Definition at line 112 of file KDChartAxisParams.h.

#define KDCHART_AXIS_LABELS_AUTO_DATETIME_FORMAT   "AUTO"

Use this to specify that date/time format to be used for displaying the axis labels is to be determined automatically.

Definition at line 77 of file KDChartAxisParams.h.

#define KDCHART_AXIS_LABELS_AUTO_DELTA   140319.64

Use this to specify that the step-width from one label to the other shall be calculated automatically.

See also:
setAxisValues

Definition at line 61 of file KDChartAxisParams.h.

#define KDCHART_AXIS_LABELS_AUTO_DIGITS   14364

Use this to specify that the number of digits to be shown on the axis labels behind the comma is to be calculated automatically.

See also:
setAxisValues

Definition at line 86 of file KDChartAxisParams.h.

#define KDCHART_AXIS_LABELS_AUTO_LEAVEOUT   14364

Use this to specify that an automatically computed amount of axis labels are to be skipped if there is not enough space for displaying all of them.

This is usefull in case you have lots of entries in one dataset.

See also:
setAxisValues

Definition at line 71 of file KDChartAxisParams.h.

#define KDCHART_AXIS_LABELS_AUTO_LIMIT   QVariant( 140319.64 )

Use this to specify that the axis label limits are to be calculated automatically.

See also:
setAxisValues

Definition at line 52 of file KDChartAxisParams.h.

#define KDCHART_DEFAULT_AXIS_GRID_COLOR   QColor( 0xA0, 0xA0, 0xA0 )

Use this to reset the grid colour to its default value for re-doing changes made by calling setAxisGridColor().

See also:
setAxisGridColor

Definition at line 96 of file KDChartAxisParams.h.

#define KDCHART_DONT_CHANGE_EMPTY_INNER_SPAN_NOW   -2

Use this to prevent setAxisValues from changing the current setting of _axisMaxEmptyInnerSpan.

See also:
setAxisValues

Definition at line 121 of file KDChartAxisParams.h.

KDE Home | KDE Accessibility Home | Description of Access Keys