# Interpolating Null Values

## Content



Often, there are null values in the data fields of a data table that you bind to **FlexChart** for plotting data. Due to the presence of null values, FlexChart creates gaps once it has plotted the data. The gaps present in the plotted data make data look inconsistent and incomplete.

FlexChart allows you to deal with such inconsistencies by using the **InterpolateNulls** property. You can set the **InterpolateNulls** property, so that the chart automatically fills in gaps created by null values in data.


> type=note
> The **InterpolateNulls** property is applicable only for the Line Chart and the Area Chart.

Here is how you can set the InterpolateNulls property:

**csharp**

```csharp
flexChart.Options.InterpolateNulls = true;
```