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

Method defaultPlotRangeChanged

src/frontend/dockwidgets/CartesianPlotDock.cpp:1760–1766  ·  view source on GitHub ↗

plot range

Source from the content-addressed store, hash-verified

1758
1759// plot range
1760void CartesianPlotDock::defaultPlotRangeChanged() {
1761 const int index{m_bgDefaultPlotRange->checkedId()};
1762 DEBUG(Q_FUNC_INFO << ", index = " << index)
1763 m_plot->setDefaultCoordinateSystemIndex(index);
1764 updatePlotRangeList(); // changing default cSystem may change x/y-ranges when on auto scale
1765 m_plot->retransform(); // update plot
1766}
1767
1768// range breaks
1769void CartesianPlotDock::plotXRangeBreakingEnabledChanged(bool on) {

Callers

nothing calls this directly

Calls 2

retransformMethod · 0.45

Tested by

no test coverage detected