Defines the fluent API for configuring ChartValueAxisPlotBandLabelSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartValueAxisPlotBandLabelSettingsBuilder<T> where T : class
Inheritance: objectChartValueAxisPlotBandLabelSettingsBuilder<T>
Inherited Members
Constructors
ChartValueAxisPlotBandLabelSettingsBuilder method.
public ChartValueAxisPlotBandLabelSettingsBuilder(ChartValueAxisPlotBandLabelSettings<T> container)
Properties
Gets or sets the Container.
protected ChartValueAxisPlotBandLabelSettings<T> 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 ChartValueAxisPlotBandLabelSettingsBuilder<T> Align(string value)
The value for Align
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.
The background color of the label. Accepts a valid CSS color string, including hex and rgb.
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.
The border of the label.
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Border(Action<ChartValueAxisPlotBandLabelBorderSettingsBuilder<T>> configurator)
The ChartValueAxisPlotBandLabelBorderSettingsBuilder<T> for the border setting.
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current instance of ChartValueAxisPlotBandLabelSettingsBuilder<T> .
The text color of the label. Accepts a valid CSS color string, including hex and rgb.
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.
The font style of the label.
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Font(string value)
The value for Font
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.
The margin of the label. A numeric value will set all margins.
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Margin(Action<ChartValueAxisPlotBandLabelMarginSettingsBuilder<T>> configurator)
The ChartValueAxisPlotBandLabelMarginSettingsBuilder<T> for the margin setting.
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current instance of ChartValueAxisPlotBandLabelSettingsBuilder<T> .
The padding of the label. A numeric value will set all paddings.
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Padding(Action<ChartValueAxisPlotBandLabelPaddingSettingsBuilder<T>> configurator)
The ChartValueAxisPlotBandLabelPaddingSettingsBuilder<T> for the padding setting.
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current instance of ChartValueAxisPlotBandLabelSettingsBuilder<T> .
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 ChartValueAxisPlotBandLabelSettingsBuilder<T> Position(string value)
The value for Position
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.
The rotation angle of the label. By default the label is not rotated.
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Rotation(double value)
The value for Rotation
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.
The text of the label.
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Text(string value)
The value for Text
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.
If set to false the chart will not display the label.
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.
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 ChartValueAxisPlotBandLabelSettingsBuilder<T> Visual(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.
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 ChartValueAxisPlotBandLabelSettingsBuilder<T> Visual(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartValueAxisPlotBandLabelSettingsBuilder<T>
Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.