Skip to main content

CartesianDataPoint Struct

Definition

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

Represents a Cartesian data point resolved from a series data source.

public struct CartesianDataPoint

Inheritance: ValueType -> CartesianDataPoint

Implements: IEquatable<CartesianDataPoint>

Constructors

NameDescription
CartesianDataPointRepresents a Cartesian data point resolved from a series data source.

CartesianDataPoint Constructor

Represents a Cartesian data point resolved from a series data source.

public CartesianDataPoint(object Category, double Value)

Parameters

Category object

The category or horizontal value for the point.

Value double

The vertical value for the point.

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)

Parameters

Category object&

Value double&

Equals overloads

Equals Method

public bool Equals(Avalonia.Controls.Charts.CartesianDataPoint other)
Parameters

other Avalonia.Controls.Charts.CartesianDataPoint

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

Category Property

The category or horizontal value for the point.

public object Category { get; set; }

Value Property

The vertical value for the point.

public double Value { get; set; }