SharpPlot Reference > SharpPlot Properties > FrameStyle Property

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
FilledFilled with background colour
RoundedRounded corners
ShadowedShadowed box

See also ...

SharpPlot Members | SharpPlot.Gutter Property | SharpPlot.DrawFrame Method | SharpPlot.SetFrameBackground Method


Send comments on this topic
© Dyalog Ltd 2021