New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring ChartValueAxisNotesLabelSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartValueAxisNotesLabelSettingsBuilder<T> where T : class

Inheritance: objectChartValueAxisNotesLabelSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChartValueAxisNotesLabelSettingsBuilder<T> class.

C#
public ChartValueAxisNotesLabelSettingsBuilder(ChartValueAxisNotesLabelSettings<T> container)
Parameters:containerChartValueAxisNotesLabelSettings<T>

The ChartValueAxisNotesLabelSettings<T> container

Properties

Gets the ChartValueAxisNotesLabelSettings<T> container.

C#
protected ChartValueAxisNotesLabelSettings<T> Container { get; }

Methods

The background color of the label. Accepts a valid CSS color string, including hex and rgb.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> Background(string value)
Parameters:valuestring

The value for Background

Returns:

ChartValueAxisNotesLabelSettingsBuilder<T>

Returns the current ChartValueAxisNotesLabelSettingsBuilder<T> instance.

The border of the label.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> Border(Action<ChartValueAxisNotesLabelBorderSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartValueAxisNotesLabelBorderSettingsBuilder<T>>

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.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> Color(string value)
Parameters:valuestring

The value for Color

Returns:

ChartValueAxisNotesLabelSettingsBuilder<T>

Returns the current ChartValueAxisNotesLabelSettingsBuilder<T> instance.

The font style of the label.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> Font(string value)
Parameters:valuestring

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.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> Format(string value)
Parameters:valuestring

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..

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> Position(ChartNoteLabelPosition value)
Parameters:valueChartNoteLabelPosition

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.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> Rotation(double value)
Parameters:valuedouble

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.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> Template(string value)
Parameters:valuestring

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.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

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.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

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.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> TemplateId(string templateId)
Parameters:templateIdstring

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.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

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.

C#
public ChartValueAxisNotesLabelSettingsBuilder<T> Visible(bool value)
Parameters:valuebool

The value for Visible

Returns:

ChartValueAxisNotesLabelSettingsBuilder<T>

Returns the current ChartValueAxisNotesLabelSettingsBuilder<T> instance.