Defines the fluent API for configuring ChartYAxisNotesLabelSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartYAxisNotesLabelSettingsBuilder<T> where T : class
Inheritance: objectChartYAxisNotesLabelSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartYAxisNotesLabelSettingsBuilder<T> class.
public ChartYAxisNotesLabelSettingsBuilder(ChartYAxisNotesLabelSettings<T> container)
The ChartYAxisNotesLabelSettings<T> container
Properties
Gets the ChartYAxisNotesLabelSettings<T> container.
protected ChartYAxisNotesLabelSettings<T> Container { get; }
Methods
The background color of the label. Accepts a valid CSS color string, including hex and rgb.
public ChartYAxisNotesLabelSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
The border of the label.
public ChartYAxisNotesLabelSettingsBuilder<T> Border(Action<ChartYAxisNotesLabelBorderSettingsBuilder<T>> configurator)
The ChartYAxisNotesLabelBorderSettingsBuilder<T> for the border setting.
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current instance of ChartYAxisNotesLabelSettingsBuilder<T> .
The text color of the label. Accepts a valid CSS color string, including hex and rgb.
public ChartYAxisNotesLabelSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
The font style of the label.
public ChartYAxisNotesLabelSettingsBuilder<T> Font(string value)
The value for Font
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
The format used to display the notes label. Uses kendo.format. Contains one placeholder ("{0}") which represents the axis value.
public ChartYAxisNotesLabelSettingsBuilder<T> Format(string value)
The value for Format
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
The position of the labels. "inside" - the label is positioned inside of the icon. or "outside" - the label is positioned outside of the icon..
public ChartYAxisNotesLabelSettingsBuilder<T> Position(ChartNoteLabelPosition value)
The value for Position
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
The rotation angle of the label. By default the label are not rotated.
public ChartYAxisNotesLabelSettingsBuilder<T> Rotation(double value)
The value for Rotation
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
The template which renders the labels.The fields which can be used in the template are: value - the axis value.
public ChartYAxisNotesLabelSettingsBuilder<T> Template(string value)
The value for Template
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
The template which renders the labels.The fields which can be used in the template are: value - the axis value.
public ChartYAxisNotesLabelSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
The template which renders the labels.The fields which can be used in the template are: value - the axis value.
public ChartYAxisNotesLabelSettingsBuilder<T> TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
The template which renders the labels.The fields which can be used in the template are: value - the axis value.
public ChartYAxisNotesLabelSettingsBuilder<T> TemplateId(string templateId)
The ID of the template element for Template
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
The template which renders the labels.The fields which can be used in the template are: value - the axis value.
public ChartYAxisNotesLabelSettingsBuilder<T> TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.
If set to true the chart will display the y axis notes label. By default the y axis notes label is visible.
public ChartYAxisNotesLabelSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartYAxisNotesLabelSettingsBuilder<T>
Returns the current ChartYAxisNotesLabelSettingsBuilder<T> instance.