SharpPlot.FrameStyle Property

Set Frame style (typically boxed or opaque).

public FrameStyles FrameStyle {get; set;}

Example

sp.FrameStyle = FrameStyles.Boxed;

The ‘boxed’ style simply draws a box around the entire chart area, with a small allowance (default 4 points) as gutter so that a trellis of boxed charts has some space between the cells. You can choose to shadow the box by adding ‘shadowed’ as well as ‘boxed’ to the style.

Options

BoxedBoxed frame
RoundedRounded corners
ShadowedShadowed box
FilledFilled with background colour

See also ...

SharpPlot Members | Gutter Property | DrawFrame Method | SetFrameBackground Method