Skip to main content

RangeDataPointWithItem Struct

Definition​

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

Represents a range data point together with the original source item.

public struct RangeDataPointWithItem

Inheritance: ValueType -> RangeDataPointWithItem

Implements: IEquatable<RangeDataPointWithItem>

Constructors​

NameDescription
RangeDataPointWithItemRepresents a range data point together with the original source item.

RangeDataPointWithItem Constructor​

Represents a range data point together with the original source item.

public RangeDataPointWithItem(object Category, double Low, double High, object DataItem)

Parameters​

Category object

The category or horizontal value for the point.

Low double

The lower value for the range.

High double

The upper value for the range.

DataItem object

The original item from the series data source.

Methods​

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

Deconstruct Method​

public void Deconstruct(object& Category, double& Low, double& High, object& DataItem)

Parameters​

Category object&

Low double&

High double&

DataItem object&

Equals overloads​

Equals Method​

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

other Avalonia.Controls.Charts.RangeDataPointWithItem

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
CategoryThe category or horizontal value for the point.
DataItemThe original item from the series data source.
HighThe upper value for the range.
LowThe lower value for the range.

Category Property​

The category or horizontal value for the point.

public object Category { get; set; }

DataItem Property​

The original item from the series data source.

public object DataItem { get; set; }

High Property​

The upper value for the range.

public double High { get; set; }

Low Property​

The lower value for the range.

public double Low { get; set; }