#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>
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 d (d_func()) |
Definition at line 51 of file KDChartCartesianAxis.cpp.
Referenced by KDChart::CartesianAxis::annotations(), KDChart::CartesianAxis::customTicks(), KDChart::CartesianAxis::geometry(), KDChart::CartesianAxis::hasDefaultTitleTextAttributes(), KDChart::CartesianAxis::isAbscissa(), KDChart::CartesianAxis::isOrdinate(), KDChart::CartesianAxis::layoutPlanes(), KDChart::CartesianAxis::maximumSize(), KDChart::CartesianAxis::paint(), KDChart::CartesianAxis::paintCtx(), KDChart::CartesianAxis::position(), KDChart::CartesianAxis::resetTitleTextAttributes(), KDChart::CartesianAxis::setAnnotations(), KDChart::CartesianAxis::setCachedSizeDirty(), KDChart::CartesianAxis::setCustomTicks(), KDChart::CartesianAxis::setGeometry(), KDChart::CartesianAxis::setPosition(), KDChart::CartesianAxis::setTitleSpace(), KDChart::CartesianAxis::setTitleText(), KDChart::CartesianAxis::setTitleTextAttributes(), KDChart::CartesianAxis::titleSpace(), KDChart::CartesianAxis::titleText(), KDChart::CartesianAxis::titleTextAttributes(), and KDChart::CartesianAxis::~CartesianAxis().
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] |
Definition at line 189 of file KDChartCartesianAxis.cpp.
References KDChart::AbstractCartesianDiagram::referenceDiagram().
Referenced by KDChart::CartesianAxis::isAbscissa(), and KDChart::CartesianAxis::isOrdinate().
static bool referenceDiagramNeedsCenteredAbscissaTicks | ( | const AbstractDiagram * | diagram | ) | [static] |
Definition at line 198 of file KDChartCartesianAxis.cpp.
References KDChart::LineDiagram::centerDataPoints(), and KDChart::AbstractCartesianDiagram::referenceDiagram().
Referenced by KDChart::CartesianAxis::paintCtx().