! Return the align-canvas-to-axis-scales setting. The canvas may: - extend beyond the axis scale ends to maximize its size - align with the axis scale ends to control its size. \param axisPos Axis position \return align-canvas-to-axis-scales setting \sa setAlignCanvasToScale(), setAlignCanvasToScale(), setCanvasMargin() */
| 1139 | \sa setAlignCanvasToScale(), setAlignCanvasToScale(), setCanvasMargin() |
| 1140 | */ |
| 1141 | bool QwtPlotLayout::alignCanvasToScale( int axisPos ) const |
| 1142 | { |
| 1143 | if ( !QwtAxis::isValid( axisPos ) ) |
| 1144 | return false; |
| 1145 | |
| 1146 | return m_data->engine.alignCanvas( axisPos ); |
| 1147 | } |
| 1148 | |
| 1149 | /*! |
| 1150 | Change the spacing of the plot. The spacing is the distance |
no test coverage detected