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