MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / getTickLabel

Method getTickLabel

qcustomplot/qcustomplot.cpp:5670–5673  ·  view source on GitHub ↗

! \internal This method returns the tick label string as it should be printed under the \a tick coordinate. If a textual number is returned, it should respect the provided \a locale, \a formatChar and \a precision. If the returned value contains exponentials of the form "2e5" and beautifully typeset powers is enabled in the QCPAxis number format (\ref QCPAxis::setNumberFormat), the

Source from the content-addressed store, hash-verified

5668 label automatically.
5669*/
5670QString QCPAxisTicker::getTickLabel(double tick, const QLocale &locale, QChar formatChar, int precision)
5671{
5672 return locale.toString(tick, formatChar.toLatin1(), precision);
5673}
5674
5675/*! \internal
5676

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected