Defines the fluent API for configuring ChartYAxisTitleSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartYAxisTitleSettingsBuilder<T> where T : class
Inheritance: objectChartYAxisTitleSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartYAxisTitleSettingsBuilder<T> class.
public ChartYAxisTitleSettingsBuilder(ChartYAxisTitleSettings<T> container)
The ChartYAxisTitleSettings<T> container
Properties
Gets the ChartYAxisTitleSettings<T> container.
protected ChartYAxisTitleSettings<T> Container { get; }
Methods
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
public ChartYAxisTitleSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current ChartYAxisTitleSettingsBuilder<T> instance.
The border of the title.
public ChartYAxisTitleSettingsBuilder<T> Border(Action<ChartYAxisTitleBorderSettingsBuilder<T>> configurator)
The ChartYAxisTitleBorderSettingsBuilder<T> for the border setting.
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current instance of ChartYAxisTitleSettingsBuilder<T> .
The text color of the title. Accepts a valid CSS color string, including hex and rgb.
public ChartYAxisTitleSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current ChartYAxisTitleSettingsBuilder<T> instance.
The font style of the title.
public ChartYAxisTitleSettingsBuilder<T> Font(string value)
The value for Font
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current ChartYAxisTitleSettingsBuilder<T> instance.
The margin of the title. A numeric value will set all margins.
public ChartYAxisTitleSettingsBuilder<T> Margin(Action<ChartYAxisTitleMarginSettingsBuilder<T>> configurator)
The ChartYAxisTitleMarginSettingsBuilder<T> for the margin setting.
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current instance of ChartYAxisTitleSettingsBuilder<T> .
The padding of the title. A numeric value will set all paddings.
public ChartYAxisTitleSettingsBuilder<T> Padding(Action<ChartYAxisTitlePaddingSettingsBuilder<T>> configurator)
The ChartYAxisTitlePaddingSettingsBuilder<T> for the padding setting.
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current instance of ChartYAxisTitleSettingsBuilder<T> .
Specifies the title position.
public ChartYAxisTitleSettingsBuilder<T> Position(ChartAxisTitlePosition value)
The value for Position
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current ChartYAxisTitleSettingsBuilder<T> instance.
The rotation angle of the title. By default the title is not rotated.
public ChartYAxisTitleSettingsBuilder<T> Rotation(double value)
The value for Rotation
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current ChartYAxisTitleSettingsBuilder<T> instance.
The text of the title.
public ChartYAxisTitleSettingsBuilder<T> Text(string value)
The value for Text
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current ChartYAxisTitleSettingsBuilder<T> instance.
If set to true the chart will display the scatter chart y axis title. By default the scatter chart y axis title is visible.
public ChartYAxisTitleSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current ChartYAxisTitleSettingsBuilder<T> instance.
A function that can be used to create a custom visual for the title. 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 ChartYAxisTitleSettingsBuilder<T> Visual(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current ChartYAxisTitleSettingsBuilder<T> instance.
A function that can be used to create a custom visual for the title. 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 ChartYAxisTitleSettingsBuilder<T> Visual(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartYAxisTitleSettingsBuilder<T>
Returns the current ChartYAxisTitleSettingsBuilder<T> instance.