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 nearest valid point on each side.
GapEmpty points cause a break in the line or area. Series that draw one mark per point leave the point out.
InterpolateEmpty points are ignored and connected to the next valid point. Series that draw one mark per point leave the point out.
ZeroEmpty points are treated as zero.

Average Field​

Empty points are calculated as the average of the nearest valid point on each side.

public Avalonia.Controls.Charts.EmptyPointMode Average

Gap Field​

Empty points cause a break in the line or area. Series that draw one mark per point leave the point out.

public Avalonia.Controls.Charts.EmptyPointMode Gap

Interpolate Field​

Empty points are ignored and connected to the next valid point. Series that draw one mark per point leave the point out.

public Avalonia.Controls.Charts.EmptyPointMode Interpolate

Zero Field​

Empty points are treated as zero.

public Avalonia.Controls.Charts.EmptyPointMode Zero