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

Method setKeySize

qcustomplot/qcustomplot.cpp:25208–25211  ·  view source on GitHub ↗

! Resizes the data array to have \a keySize cells in the key dimension. The current data is discarded and the map cells are set to 0, unless the map had already the requested size. Setting \a keySize to zero frees the internal data array and \ref isEmpty returns true. \see setKeyRange, setSize, setValueSize */

Source from the content-addressed store, hash-verified

25206 \see setKeyRange, setSize, setValueSize
25207*/
25208void QCPColorMapData::setKeySize(int keySize)
25209{
25210 setSize(keySize, mValueSize);
25211}
25212
25213/*!
25214 Resizes the data array to have \a valueSize cells in the value dimension.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected