! Sets the \a layer of this layerable object. The object will be placed on top of the other objects already on \a layer. If \a layer is 0, this layerable will not be on any layer and thus not appear in the plot (or interact/receive events). Returns true if the layer of this layerable was successfully changed to \a layer. */
| 1409 | Returns true if the layer of this layerable was successfully changed to \a layer. |
| 1410 | */ |
| 1411 | bool QCPLayerable::setLayer(QCPLayer *layer) |
| 1412 | { |
| 1413 | return moveToLayer(layer, false); |
| 1414 | } |
| 1415 | |
| 1416 | /*! \overload |
| 1417 | Sets the layer of this layerable object by name |
no test coverage detected