MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / alignCanvasToScale

Method alignCanvasToScale

3rdparty/qwt/src/qwt_plot_layout.cpp:1141–1147  ·  view source on GitHub ↗

! 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() */

Source from the content-addressed store, hash-verified

1139 \sa setAlignCanvasToScale(), setAlignCanvasToScale(), setCanvasMargin()
1140 */
1141bool 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

Callers 2

canvasMapMethod · 0.80
buildCanvasMapsMethod · 0.80

Calls 1

alignCanvasMethod · 0.80

Tested by

no test coverage detected