Skip to main content

CartesianDataPointWithItem Struct

Definition​

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

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

public struct CartesianDataPointWithItem

Inheritance: ValueType -> CartesianDataPointWithItem

Implements: IEquatable<CartesianDataPointWithItem>

Constructors​

NameDescription
CartesianDataPointWithItemRepresents a Cartesian data point together with the original source item.

CartesianDataPointWithItem Constructor​

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

public CartesianDataPointWithItem(object Category, double Value, object DataItem)

Parameters​

Category object

The category or horizontal value for the point.

Value double

The vertical value for the point.

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& Value, object& DataItem)

Parameters​

Category object&

Value double&

DataItem object&

Equals overloads​

Equals Method​

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

other Avalonia.Controls.Charts.CartesianDataPointWithItem

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.
ValueThe vertical value for the point.

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; }

Value Property​

The vertical value for the point.

public double Value { get; set; }