/// <summary> /// Configures the behavior for handling missing values in line series. /// </summary> /// <param name="missingValues">The missing values behavior. The default is to leave gaps.</param> /// <example> /// <code lang="CS"> /// <%= Html.Kendo().Chart() /// .Name("Chart") /// .Series(series => series /// .Line(s => s.Sales) /// .MissingValues(ChartLineMissingValues.Interpolate); /// ) /// %> /// </code> /// </example> public TSeriesBuilder MissingValues(ChartLineMissingValues missingValues) { Series.MissingValues = missingValues; return((TSeriesBuilder)this); }
/// <summary> /// Configures the behavior for handling missing values in line series. /// </summary> /// <param name="missingValues">The missing values behavior. The default is to leave gaps.</param> /// <example> /// <code lang="CS"> /// <%= Html.Telerik().Chart() /// .Name("Chart") /// .Series(series => series /// .Line(s => s.Sales) /// .MissingValues(ChartLineMissingValues.Interpolate); /// ) /// %> /// </code> /// </example> public ChartLineSeriesBuilder <T> MissingValues(ChartLineMissingValues missingValues) { Series.MissingValues = missingValues; return(this); }
public ActionResult MissingValues(ChartLineMissingValues? missingValues) { ViewBag.MissingValues = missingValues ?? ChartLineMissingValues.Gap; return View(SalesDataBuilder.GetCollectionWithMissingValues()); }