Defines | Functions

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 "KDChartLineDiagram.h"
#include "KDChartPrintingParameters.h"
#include <KDABLibFakes>
#include <limits>
Include dependency graph for KDChartCartesianAxis.cpp:

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())

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 1445 of file KDChartCartesianAxis.cpp.

static bool referenceDiagramIsBarDiagram ( const AbstractDiagram diagram  )  [static]
static bool referenceDiagramNeedsCenteredAbscissaTicks ( const AbstractDiagram diagram  )  [static]