- return pv::util::format_time(time_, view_.tick_prefix(), 2);
+ return util::format_time(time_, view_.tick_prefix(),
+ util::TimeUnit::Time, 2);
- text_size.width() + View::LabelPadding.width() * 2,
- text_size.height() + View::LabelPadding.height() * 2);
+ text_size.width() + LabelPadding.width() * 2,
+ text_size.height() + LabelPadding.height() * 2);
const float top = rect.height() - label_size.height() -
TimeMarker::ArrowSize - 0.5f;
const float height = label_size.height();
const float top = rect.height() - label_size.height() -
TimeMarker::ArrowSize - 0.5f;
const float height = label_size.height();
return QRectF(x, top, label_size.width(), height);
else
return QRectF(x - label_size.width(), top,
return QRectF(x, top, label_size.width(), height);
else
return QRectF(x - label_size.width(), top,