ChartPlotBandLabelSpacingBuilder
Methods
Bottom(System.Double)
The bottom margin of the label.
Parameters
value - System.Double
The value for Bottom
Example
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(axis => axis.Numeric()
.PlotBands(bands =>
{
bands.Add().From(10000).To(30000).Label(label => label.Margin(margin => margin.Bottom(10)));
})
)
)
Left(System.Double)
The left margin of the label.
Parameters
value - System.Double
The value for Left
Example
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(axis => axis.Numeric()
.PlotBands(bands =>
{
bands.Add().From(10000).To(30000).Label(label => label.Margin(margin => margin.Left(5)));
})
)
)
Right(System.Double)
The right margin of the label.
Parameters
value - System.Double
The value for Right
Example
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(axis => axis.Numeric()
.PlotBands(bands =>
{
bands.Add().From(10000).To(30000).Label(label => label.Margin(margin => margin.Right(5)));
})
)
)
Top(System.Double)
The top margin of the label.
Parameters
value - System.Double
The value for Top
Example
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(axis => axis.Numeric()
.PlotBands(bands =>
{
bands.Add().From(10000).To(30000).Label(label => label.Margin(margin => margin.Top(10)));
})
)
)