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