Defines the fluent API for configuring List<ChartXAxisPlotBand<T>>
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
C#
public class ChartXAxisPlotBandFactory<T> where T : class
Inheritance: objectChartXAxisPlotBandFactory<T>
Inherited Members
Constructors
Initializes a new instance of the ChartXAxisPlotBandFactory<T> class.
C#
public ChartXAxisPlotBandFactory(List<ChartXAxisPlotBand<T>> container)
The List<ChartXAxisPlotBand<T>> container
Properties
Gets the List<ChartXAxisPlotBand<T>> container.
C#
protected List<ChartXAxisPlotBand<T>> Container { get; }
Methods
Adds an item to the collection
C#
public virtual ChartXAxisPlotBandBuilder<T> Add()
Returns a ChartXAxisPlotBandBuilder<T> with the available configuration options.
Adds an item to the plot bands collection.
C#
public virtual ChartXAxisPlotBandBuilder<T> Add(double from, double to, string color)
The start position of the plot band in axis units.
todoubleThe end position of the plot band in axis units.
colorstringThe color of the plot band.
Returns:Returns a new instance of ChartXAxisPlotBandBuilder<T> for further configuration.