Skip to content

ChartBinRange<T>

StructChartGuruChartGuru
public readonly struct ChartBinRange<T> where T : IComparable<T>

Range used to describe a histogram bin. Mirrors Swift Charts’ ChartBinRange. Open-bound flags let callers express half-open intervals (the Swift convention is lower-closed / upper-open, except for the final bin which is closed on both sides).

public readonly T LowerBound

No description is available for this member.

Returns

{T} — No return description is available.

public readonly T UpperBound

No description is available for this member.

Returns

{T} — No return description is available.

public readonly bool IsLowerOpen

No description is available for this member.

Returns

System.Boolean — No return description is available.

public readonly bool IsUpperOpen

No description is available for this member.

Returns

System.Boolean — No return description is available.

public ChartBinRange(T lower, T upper, bool isLowerOpen = false, bool isUpperOpen = true)

No description is available for this member.

Parameters

Name Type Description
lower {T}
upper {T}
isLowerOpen System.Boolean
isUpperOpen System.Boolean

public bool Contains(T value)

No description is available for this member.

Parameters

Name Type Description
value {T}

Returns

System.Boolean — No return description is available.

public bool Equals(ChartBinRange<T> other)

No description is available for this member.

Parameters

Name Type Description
other ChartGuru.ChartBinRange`1

Returns

System.Boolean — No return description is available.

public override bool Equals(object obj)

No description is available for this member.

Parameters

Name Type Description
obj System.Object

Returns

System.Boolean — No return description is available.

public override int GetHashCode()

No description is available for this member.

Returns

System.Int32 — No return description is available.