Table of Contents

Class LayoutManager

Namespace
ScottPlot
Assembly
ScottPlot.dll

A collection of methods for making common adjustments to plot layouts

public class LayoutManager
Inheritance
LayoutManager
Inherited Members
Extension Methods

Constructors

LayoutManager(Plot)

public LayoutManager(Plot plot)

Parameters

plot Plot

Properties

LayoutEngine

public ILayoutEngine LayoutEngine { get; set; }

Property Value

ILayoutEngine

Methods

Default()

Automatically resize the layout on each render to achieve the best fit

public void Default()

Fixed(PixelPadding)

Apply a fixed layout using the given padding to define space between the data area and the edge of the figure

public void Fixed(PixelPadding padding)

Parameters

padding PixelPadding

Fixed(PixelRect)

Apply a fixed layout using the given rectangle to define the data area

public void Fixed(PixelRect dataRect)

Parameters

dataRect PixelRect

Frameless(bool)

Helper method to set visibility of all axes and title panels. Hiding all panels allows the data area to the extend to the edge of the figure. This method hides the title, but call "Plot.Title()" to re-enable it.

public void Frameless(bool hideAllPanels = true)

Parameters

hideAllPanels bool