Skip to main content

EmptyPointMode Enum

Definition

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

Specifies how empty or null data points are handled in the chart.

public enum EmptyPointMode

Inheritance: Enum -> EmptyPointMode

Fields

NameDescription
AverageEmpty points are calculated as the average of the neighbor points.
GapEmpty points cause a break in the line or area.
InterpolateEmpty points are ignored and connected to the next valid point.
ZeroEmpty points are treated as zero.

Average Field

Empty points are calculated as the average of the neighbor points.

public Avalonia.Controls.Charts.EmptyPointMode Average

Gap Field

Empty points cause a break in the line or area.

public Avalonia.Controls.Charts.EmptyPointMode Gap

Interpolate Field

Empty points are ignored and connected to the next valid point.

public Avalonia.Controls.Charts.EmptyPointMode Interpolate

Zero Field

Empty points are treated as zero.

public Avalonia.Controls.Charts.EmptyPointMode Zero