Creates plot bands for the ChartAxisPlotBandsFactory<TAxis, TValue>.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TAxis
TValue
Syntax:
C#
public class ChartAxisPlotBandsFactory<TAxis, TValue> where TAxis : IChartAxis<TValue> where TValue : struct
Inheritance: objectChartAxisPlotBandsFactory<TAxis, TValue>
Inherited Members
Constructors
Initializes a new instance of the ChartAxisPlotBandsFactory<TAxis, TValue> class.
C#
public ChartAxisPlotBandsFactory(TAxis axis)
The axis.
Methods
Adds a plot band.
Defines a plot band.
C#
public ChartPlotBandsBuilder Add(TValue from, TValue to, string color, ChartPlotBandLabel label)
The start position of the plot band in axis units.
toTValueThe end position of the plot band in axis units.
colorstringThe color of the plot band.
labelChartPlotBandLabelThe label configuration of the plot band.
Returns:Defines a plot band.
C#
public ChartPlotBandsBuilder Add(TValue from, TValue to, string color)
The start position of the plot band in axis units.
toTValueThe end position of the plot band in axis units.
colorstringThe color of the plot band.
Returns: