16#ifndef QCP_AXIS_TICKER_ELIDED_H
17#define QCP_AXIS_TICKER_ELIDED_H
19#include <ui/qt/widgets/qcustomplot.h>
66 virtual QString
getTickLabel(
double tick,
const QLocale &locale, QChar formatChar,
int precision)
override;
QCPAxisTickerText specialisation that elides tick labels to fit within the available axis space,...
Definition qcp_axis_ticker_elided.h:27
QString elidedText(const QString &text)
Returns text elided to fit within the available tick-label width of the parent axis,...
Definition qcp_axis_ticker_elided.cpp:40
static QCP::MarginSide axisTypeToMarginSide(const QCPAxis::AxisType axisType)
Converts a QCPAxis AxisType to its corresponding QCP::MarginSide.
Definition qcp_axis_ticker_elided.cpp:25
virtual QString getTickLabel(double tick, const QLocale &locale, QChar formatChar, int precision) override
Returns the (possibly elided) label string for the tick at tick.
Definition qcp_axis_ticker_elided.cpp:71