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

Method setOrientation

src/backend/worksheet/plots/cartesian/BarPlot.cpp:308–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306
307STD_SETTER_CMD_IMPL_F_S(BarPlot, SetOrientation, BarPlot::Orientation, orientation, recalc)
308void BarPlot::setOrientation(BarPlot::Orientation orientation) {
309 Q_D(BarPlot);
310 if (orientation != d->orientation)
311 exec(new BarPlotSetOrientationCmd(d, orientation, ki18n("%1: set orientation")));
312}
313
314STD_SETTER_CMD_IMPL_F_S(BarPlot, SetWidthFactor, double, widthFactor, recalc)
315void BarPlot::setWidthFactor(double widthFactor) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected