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