Skip to content
ChartForgeX
Struct

ChartPadding

ChartForgeX.Primitives

Namespace
ChartForgeX.Primitives
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

Defines the spacing between the chart edge and plot area.

Inheritance

  • ValueType
  • ChartPadding

Usage

Explore 64 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 52

Constructors

public ChartPadding(double left, double top, double right, double bottom) #

Initializes a new instance of the ChartPadding struct.

Parameters

left double required
The left padding in pixels.
top double required
The top padding in pixels.
right double required
The right padding in pixels.
bottom double required
The bottom padding in pixels.

Methods

public static ChartPadding All(double value) #

Creates padding with the same value on every side.

Parameters

value double required
The padding in pixels.

Returns

ChartPadding A padding value with equal sides.

Fields

public readonly double Left #

Gets the left padding in pixels.

public readonly double Top #

Gets the top padding in pixels.

public readonly double Right #

Gets the right padding in pixels.

public readonly double Bottom #

Gets the bottom padding in pixels.