Defines the fluent API for configuring ChartCategoryAxisPlotBandLabelSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChartPlotBandLabelBuilder
Inheritance: objectChartPlotBandLabelBuilder
Inherited Members
Constructors
public ChartPlotBandLabelBuilder(ChartPlotBandLabel container)
Properties
protected ChartPlotBandLabel Container { get; }
Methods
The position of the plotband label.The supported values are: "left" - the plotband label is positioned on the left; "right" - the plotband label is positioned on the right or "center" - the plotband label is positioned in the center.
public ChartPlotBandLabelBuilder Align(string value)
The value for Align
Returns:The background color of the label. Accepts a valid CSS color string, including hex and rgb.
public ChartPlotBandLabelBuilder Background(string value)
The value for Background
Returns:The border of the label.
public ChartPlotBandLabelBuilder Border(Action<ChartPlotBandLabelBorderBuilder> configurator)
The configurator for the border setting.
Returns:The text color of the label. Accepts a valid CSS color string, including hex and rgb.
public ChartPlotBandLabelBuilder Color(string value)
The value for Color
Returns:The font style of the label.
public ChartPlotBandLabelBuilder Font(string value)
The value for Font
Returns:The margin of the label. A numeric value will set all margins.
public ChartPlotBandLabelBuilder Margin(Action<ChartPlotBandLabelSpacingBuilder> configurator)
The configurator for the margin setting.
Returns:The padding of the label. A numeric value will set all paddings.
public ChartPlotBandLabelBuilder Padding(Action<ChartPlotBandLabelSpacingBuilder> configurator)
The configurator for the padding setting.
Returns:The position of the label.The supported values are: "top" - the axis label is positioned on the top; "bottom" - the axis label is positioned on the bottom or "center" - the axis label is positioned in the center.
public ChartPlotBandLabelBuilder Position(string value)
The value for Position
Returns:The rotation angle of the label. By default the label is not rotated.
public ChartPlotBandLabelBuilder Rotation(double value)
The value for Rotation
Returns:The text of the label.
public ChartPlotBandLabelBuilder Text(string value)
The value for Text
Returns:If set to false the chart will not display the label.
public ChartPlotBandLabelBuilder Visible(bool value)
The value for Visible
Returns:A function that can be used to create a custom visual for the label. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..
A function that can be used to create a custom visual for the label. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..
public ChartPlotBandLabelBuilder Visual(string handler)
The name of the JavaScript function that will be evaluated.
Returns: