MCPcopy Create free account
hub / github.com/KDE/labplot / rangeFormat

Method rangeFormat

src/backend/worksheet/plots/cartesian/CartesianPlot.cpp:1243–1250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1241 return rangeFormat(Dimension::Y, defaultCoordinateSystem()->index(Dimension::Y));
1242}
1243RangeT::Format CartesianPlot::rangeFormat(const Dimension dim, const int index) const {
1244 Q_D(const CartesianPlot);
1245 if (index < 0 || index > rangeCount(dim)) {
1246 DEBUG(Q_FUNC_INFO << ", index " << index << " out of range")
1247 return RangeT::Format::Numeric;
1248 }
1249 return d->rangeConst(dim, index).format();
1250}
1251RangeT::Format CartesianPlot::xRangeFormat(const int index) const {
1252 return rangeFormat(Dimension::X, index);
1253}

Calls 1

formatMethod · 0.45