ChartMargin Struct

The space between the edges of a chart and its plot area.

public readonly struct ChartMargin : IEquatable<ChartMargin>
Implements

Constructors

NameDescription
ChartMargin(double)Initializes a new instance of the ChartMargin struct with the same space on every side.
ChartMargin(double, double, double, double)The space between the edges of a chart and its plot area.

ChartMargin overloads

ChartMargin(double)

ChartMargin.cs

Initializes a new instance of the ChartMargin struct with the same space on every side.

public ChartMargin(double all)
Parameters
all double
The space on every side.

ChartMargin(double, double, double, double)

The space between the edges of a chart and its plot area.

public ChartMargin(double Top, double Right, double Bottom, double Left)
Parameters
Top double
The space at the top.
Right double
The space on the right.
Bottom double
The space at the bottom.
Left double
The space on the left.

Properties

NameDescription
BottomThe space at the bottom.
LeftThe space on the left.
RightThe space on the right.
TopThe space at the top.

The space at the bottom.

public double Bottom { get; init; }

Property value

double

The space on the left.

public double Left { get; init; }

Property value

double

The space at the top.

public double Top { get; init; }

Property value

double

Methods

NameDescription
Deconstruct(double, double, double, double)
Equals(ChartMargin)
Equals(object)
GetHashCode()
ToString()

Deconstruct(double, double, double, double)

public void Deconstruct(out double Top, out double Right, out double Bottom, out double Left)

Parameters

Top double
Right double
Bottom double
Left double

No documentation is available.

Equals overloads

Equals(ChartMargin)

public bool Equals(ChartMargin other)
Parameters
other ChartMargin
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(ChartMargin, ChartMargin)
operator !=(ChartMargin, ChartMargin)

operator ==(ChartMargin, ChartMargin)

public static bool operator ==(ChartMargin left, ChartMargin right)

Parameters

left ChartMargin
right ChartMargin

Returns

bool

No documentation is available.

operator !=(ChartMargin, ChartMargin)

public static bool operator !=(ChartMargin left, ChartMargin right)

Parameters

left ChartMargin
right ChartMargin

Returns

bool

No documentation is available.