KDChartCartesianAxis.cpp File Reference

#include "KDChartCartesianAxis.h"
#include "KDChartCartesianAxis_p.h"
#include <cmath>
#include <QtDebug>
#include <QPainter>
#include <QPen>
#include <QBrush>
#include <QApplication>
#include "KDChartPaintContext.h"
#include "KDChartChart.h"
#include "KDChartAbstractCartesianDiagram.h"
#include "KDChartAbstractGrid.h"
#include "KDChartPainterSaver_p.h"
#include "KDChartLayoutItems.h"
#include "KDChartBarDiagram.h"
#include "KDChartStockDiagram.h"
#include "KDChartCartesianCoordinatePlane.h"
#include <QMetaType>
#include "KDChartGlobal.h"
#include "KDChartThreeDBarAttributes.h"
#include <QDebug>
#include "KDChartPrintingParameters.h"
#include <KDABLibFakes>
#include <limits>
Include dependency graph for KDChartCartesianAxis.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define d   (d_func())

Functions

static void calculateNextLabel (qreal &labelValue, qreal step, bool isLogarithmic, qreal min)
static void calculateOverlap (int i, int first, int last, int measure, bool centerAbscissaTicks, int &firstOverlap, int &lastOverlap)
static bool referenceDiagramIsBarDiagram (const AbstractDiagram *diagram)
static bool referenceDiagramNeedsCenteredAbscissaTicks (const AbstractDiagram *diagram)

Define Documentation

#define d   (d_func())

Definition at line 51 of file KDChartCartesianAxis.cpp.


Function Documentation

static void calculateNextLabel ( qreal &  labelValue,
qreal  step,
bool  isLogarithmic,
qreal  min 
) [static]

Definition at line 439 of file KDChartCartesianAxis.cpp.

Referenced by KDChart::CartesianAxis::paintCtx().

static void calculateOverlap ( int  i,
int  first,
int  last,
int  measure,
bool  centerAbscissaTicks,
int &  firstOverlap,
int &  lastOverlap 
) [static]

Definition at line 1450 of file KDChartCartesianAxis.cpp.

static bool referenceDiagramIsBarDiagram ( const AbstractDiagram diagram  )  [static]
static bool referenceDiagramNeedsCenteredAbscissaTicks ( const AbstractDiagram diagram  )  [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-chart/