# ChartValueAxisLabelsSettingsBuilder

## Methods

### Margin(System.Int32,System.Int32,System.Int32,System.Int32)

Sets the labels margin.

#### Parameters

##### top - `System.Int32`

The value for the top margin.

##### right - `System.Int32`

The value for the right margin.

##### bottom - `System.Int32`

The value for the bottom margin.

##### left - `System.Int32`

The value for the left margin.

#### Example

```
 
                @(Html.Kendo().Chart(Model)
                         .Name("Chart")
                         .Series(series => series
                             .Area(s => s.Sales)
                         )
                         .ValueAxis(valueAxis => valueAxis
                                .Labels(labels => labels
                                        .Margin(margin => margin
                                            .Top(10)
                                            .Right(10)
                                            .Bottom(10)
                                            .Left(20)
                                        )
                                )
                         )
                )
             
```

### Padding(System.Int32,System.Int32,System.Int32,System.Int32)

Sets the labels padding.

#### Parameters

##### top - `System.Int32`

The value for the top padding.

##### right - `System.Int32`

The value for the right padding.

##### bottom - `System.Int32`

The value for the bottom padding.

##### left - `System.Int32`

The value for the left padding.

#### Example

```
 
                @(Html.Kendo().Chart(Model)
                         .Name("Chart")
                         .Series(series => series
                             .Area(s => s.Sales)
                         )
                         .ValueAxis(valueAxis => valueAxis
                                .Labels(labels => labels
                                        .Padding(padding => padding
                                            .Top(10)
                                            .Right(10)
                                            .Bottom(10)
                                            .Left(20)
                                        )
                                )
                         )
                )
             
```

### Rotation(System.Double)

The rotation angle of the labels. By default the labels are not rotated.

#### Parameters

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

The value for Rotation

#### Example

```
 
                @(Html.Kendo().Chart(Model)
                         .Name("Chart")
                         .Series(series => series
                             .Area(s => s.Sales)
                         )
                         .ValueAxis(valueAxis => valueAxis
                                .Labels(labels => labels
                                        .Rotation(90)
                                )
                         )
                )
             
```

### Background(System.String)

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

#### Parameters

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

The value for Background

#### RETURNS

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

### Border(System.Action)

The border of the labels.

#### Parameters

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

The configurator for the border setting.

#### RETURNS

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

### Color(System.String)

The text color of the labels. Accepts a valid CSS color string, including hex and rgb.

#### Parameters

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

The value for Color

#### RETURNS

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

### 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 [ChartValueAxisLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartvalueaxislabelssettingsbuilder) 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 [ChartValueAxisLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartvalueaxislabelssettingsbuilder) instance.

### Margin(System.Action)

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

#### Parameters

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

The configurator for the margin setting.

#### RETURNS

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

### 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 [ChartValueAxisLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartvalueaxislabelssettingsbuilder) instance.

### Padding(System.Action)

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

#### Parameters

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

The configurator for the padding setting.

#### RETURNS

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

### Rotation(System.String)

The rotation angle (in degrees) of the labels. By default the labels are not rotated. Angles increase clockwise and zero is to the left. Negative values are acceptable. 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 [ChartValueAxisLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartvalueaxislabelssettingsbuilder) .

### Rotation(System.Action)

The rotation angle (in degrees) of the labels. By default the labels are not rotated. Angles increase clockwise and zero is to the left. Negative values are acceptable. 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<[ChartValueAxisLabelsRotationSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartvalueaxislabelsrotationsettingsbuilder)>

The configurator for the rotation setting.

#### RETURNS

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

### 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 [ChartValueAxisLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartvalueaxislabelssettingsbuilder) instance.

### Step(System.Double)

Label rendering step. Every n-th label is rendered where n is the step

#### Parameters

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

The value for Step

#### RETURNS

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

### Template(System.String)

The template which renders the labels.The fields which can be used in the template are: value - the value value.

#### Parameters

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

The value for Template

#### RETURNS

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

### TemplateId(System.String)

The template which renders the labels.The fields which can be used in the template are: value - the value value.

#### Parameters

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

The ID of the template element for Template

#### RETURNS

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

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

The template which renders the labels.The fields which can be used in the template are: value - the value value.

#### Parameters

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

The view that contains the template for Template

#### RETURNS

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

### TemplateHandler(System.String)

The template which renders the labels.The fields which can be used in the template are: value - the value value.

#### Parameters

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

The handler that returs the template for Template

#### RETURNS

Returns the current [ChartValueAxisLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartvalueaxislabelssettingsbuilder) 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 value value.

#### Parameters

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

A Template component that configures the template.

#### RETURNS

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

### Visible(System.Boolean)

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

#### Parameters

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

The value for Visible

#### RETURNS

Returns the current [ChartValueAxisLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartvalueaxislabelssettingsbuilder) 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; 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 [ChartValueAxisLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartvalueaxislabelssettingsbuilder) 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; 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 [ChartValueAxisLabelsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartvalueaxislabelssettingsbuilder) instance.

### Position(Kendo.Mvc.UI.ChartAxisLabelsPosition)

Specifies the position of the labels.

#### Parameters

##### value - [ChartAxisLabelsPosition](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartaxislabelsposition)

The value for Position

#### RETURNS

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