FlexChart | ComponentOne
FlexChart / Working with FlexChart / Data / Plotting Data / Interpolating Null Values
In This Topic
    Interpolating Null Values
    In This Topic

    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.

    The InterpolateNulls property is applicable only for the Line Chart and the Area Chart.

    Here is how you can set the InterpolateNulls property:

    flexChart.Options.InterpolateNulls = true;