Skip to main content

HistogramBin Struct

Definition​

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Represents a computed histogram bin.

public struct HistogramBin

Inheritance: ValueType -> HistogramBin

Implements: IEquatable<HistogramBin>

Constructors​

NameDescription
HistogramBinRepresents a computed histogram bin.

HistogramBin Constructor​

Represents a computed histogram bin.

public HistogramBin(double BinStart, double BinEnd, int Count)

Parameters​

BinStart double

The inclusive lower bound of the bin.

BinEnd double

The upper bound of the bin.

Count int

The number of values in the bin.

Methods​

NameDescription
DeconstructNo summary available.
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
ToStringNo summary available.

Deconstruct Method​

public void Deconstruct(double& BinStart, double& BinEnd, int& Count)

Parameters​

BinStart double&

BinEnd double&

Count int&

Equals overloads​

Equals Method​

public bool Equals(Avalonia.Controls.Charts.HistogramBin other)
Parameters​

other Avalonia.Controls.Charts.HistogramBin

Returns​

bool

Equals Method​

public bool Equals(object obj)
Parameters​

obj object

Returns​

bool

GetHashCode Method​

public int GetHashCode()

Returns​

int

ToString Method​

public string ToString()

Returns​

string

Properties​

NameDescription
BinEndThe upper bound of the bin.
BinStartThe inclusive lower bound of the bin.
CountThe number of values in the bin.

BinEnd Property​

The upper bound of the bin.

public double BinEnd { get; set; }

BinStart Property​

The inclusive lower bound of the bin.

public double BinStart { get; set; }

Count Property​

The number of values in the bin.

public int Count { get; set; }