ChartXAxisPlotBandFactory
Properties
Chart - Chart
The common settings for all Chart series.
Methods
Add(System.Double,System.Double,System.String)
Adds an item to the plot bands collection.
Parameters
from - System.Double
The start position of the plot band in axis units.
to - System.Double
The end position of the plot band in axis units.
color - System.String
The color of the plot band.
Example
Razor
@(Html.Kendo().Chart()
.Name("chart")
.XAxis(axis =>
{
axis.PlotBands(bands =>
{
bands.Add(20000, 40000, "green");
});
})
)
Add()
Adds an item to the plot bands collection.
Example
Razor
@(Html.Kendo().Chart()
.Name("chart")
.XAxis(axis =>
{
axis.PlotBands(bands =>
{
bands.Add(20000, 40000, "green");
});
})
)