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

Method setKeyAxis

qcustomplot/qcustomplot.cpp:10800–10803  ·  view source on GitHub ↗

! The key axis of a plottable can be set to any axis of a QCustomPlot, as long as it is orthogonal to the plottable's value axis. This function performs no checks to make sure this is the case. The typical mathematical choice is to use the x-axis (QCustomPlot::xAxis) as key axis and the y-axis (QCustomPlot::yAxis) as value axis. Normally, the key and value axes are set in the construc

Source from the content-addressed store, hash-verified

10798 \see setValueAxis
10799*/
10800void QCPAbstractPlottable::setKeyAxis(QCPAxis *axis)
10801{
10802 mKeyAxis = axis;
10803}
10804
10805/*!
10806 The value axis of a plottable can be set to any axis of a QCustomPlot, as long as it is

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected