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