EmptyPointSettings

Configuration options for handling empty data points in a chart series.

Props

The following table outlines the props for the EmptyPointSettings:

NameTypeDefaultDescription
border
{ color: 'transparent', width: 0 }

Customizes the border of empty points, including color and width.

fill
string
null

Sets the fill color for empty points in the series.

mode
'Gap'

Specifies how empty or missing data points should be rendered in the series. Available modes:

  • Gap - Displays empty points as gaps in the series.
  • Zero - Treats empty points as zero values.
  • Drop - Ignores empty points during rendering.
  • Average - Replaces empty points with the average of the previous and next points.