# ChartAxisDefaultsLabelsSettingsBuilder

## Methods

### Font(System.String)

The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".

#### Parameters

##### value - `System.String`

The value for Font

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### Format(System.String)

The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.

#### Parameters

##### value - `System.String`

The value for Format

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### Margin(System.Action)

The margin of the labels. A numeric value will set all margins.

#### Parameters

##### configurator - System.Action<[ChartAxisDefaultsLabelsMarginSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelsmarginsettingsbuilder)>

The configurator for the margin setting.

#### RETURNS

Returns the current instance of [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) .

### Mirror(System.Boolean)

If set to true the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.

#### Parameters

##### value - `System.Boolean`

The value for Mirror

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### Mirror()

If set to true the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### Padding(System.Action)

The padding of the labels. A numeric value will set all paddings.

#### Parameters

##### configurator - System.Action<[ChartAxisDefaultsLabelsPaddingSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelspaddingsettingsbuilder)>

The configurator for the padding setting.

#### RETURNS

Returns the current instance of [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) .

### Rotation(System.String)

The rotation angle of the labels. By default the labels are not rotated. Can be set to "auto" if the axis is horizontal in which case the labels will be rotated only if the slot size is not sufficient for the entire labels.

#### Parameters

##### rotation - `System.String`

The rotation.

#### RETURNS

Returns the current instance of [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) .

### Rotation(System.Action)

The rotation angle of the labels. By default the labels are not rotated. Can be set to "auto" if the axis is horizontal in which case the labels will be rotated only if the slot size is not sufficient for the entire labels.

#### Parameters

##### configurator - System.Action<[ChartAxisDefaultsLabelsRotationSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelsrotationsettingsbuilder)>

The configurator for the rotation setting.

#### RETURNS

Returns the current instance of [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) .

### Skip(System.Double)

The number of labels to skip. By default no labels are skipped.

#### Parameters

##### value - `System.Double`

The value for Skip

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### Step(System.Double)

The label rendering step - render every n-th label. By default every label is rendered.

#### Parameters

##### value - `System.Double`

The value for Step

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### Template(System.String)

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item, in case a field has been specified. If the category does not have a corresponding item in the data then an empty object will be passed.; format - the default format of the label or culture - the default culture (if set) on the label.

#### Parameters

##### value - `System.String`

The value for Template

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### TemplateId(System.String)

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item, in case a field has been specified. If the category does not have a corresponding item in the data then an empty object will be passed.; format - the default format of the label or culture - the default culture (if set) on the label.

#### Parameters

##### templateId - `System.String`

The ID of the template element for Template

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item, in case a field has been specified. If the category does not have a corresponding item in the data then an empty object will be passed.; format - the default format of the label or culture - the default culture (if set) on the label.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for Template

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### TemplateHandler(System.String)

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item, in case a field has been specified. If the category does not have a corresponding item in the data then an empty object will be passed.; format - the default format of the label or culture - the default culture (if set) on the label.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for Template

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item, in case a field has been specified. If the category does not have a corresponding item in the data then an empty object will be passed.; format - the default format of the label or culture - the default culture (if set) on the label.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the template.

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### Visible(System.Boolean)

If set to true the chart will display the axis labels. By default the axis labels are visible.

#### Parameters

##### value - `System.Boolean`

The value for Visible

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### Visual(System.String)

A function that can be used to create a custom visual for the labels. The available argument fields are: createVisual - a function that can be used to get the default visual.; culture - the default culture (if set) on the label; dataItem - the data item, in case a field has been specified; format - the default format of the label; options - the label options.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; text - the label text. or value - the category value.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.

### Visual(System.Func)

A function that can be used to create a custom visual for the labels. The available argument fields are: createVisual - a function that can be used to get the default visual.; culture - the default culture (if set) on the label; dataItem - the data item, in case a field has been specified; format - the default format of the label; options - the label options.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; text - the label text. or value - the category value.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [ChartAxisDefaultsLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartaxisdefaultslabelssettingsbuilder) instance.
