# ChartLegendSettingsTagHelper

## Example

```
<chart-legend>
    <border />
    <focus-highlight></focus-highlight>
    <inactive-items></inactive-items>
    <item></item>
    <labels></labels>
    <margin />
    <padding />
    <title />
</chart-legend>
```

## ChildTags

| Tag Name        | Details                                                                                                                                                                |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| border          | [ChartLegendBorderSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/chartlegendbordersettingstaghelper)                 |
| focus-highlight | [ChartLegendFocusHighlightSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/chartlegendfocushighlightsettingstaghelper) |
| inactive-items  | [ChartLegendInactiveItemsSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/chartlegendinactiveitemssettingstaghelper)   |
| item            | [ChartLegendItemSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/chartlegenditemsettingstaghelper)                     |
| labels          | [ChartLegendLabelsSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/chartlegendlabelssettingstaghelper)                 |
| margin          | [ChartLegendMarginSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/chartlegendmarginsettingstaghelper)                 |
| padding         | [ChartLegendPaddingSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/chartlegendpaddingsettingstaghelper)               |
| title           | [ChartLegendTitleSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/chartlegendtitlesettingstaghelper)                   |

## Attributes

| Attribute   | Type                                                                                                                   | Description                                                                                                                                                                                                                                                                 |
| ----------- | ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| align       | [ChartLegendAlign](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartlegendalign)             | Specifies the legend align.                                                                                                                                                                                                                                                 |
| background  | String                                                                                                                 | The background color of the legend. Accepts a valid CSS color string, including hex and rgb.                                                                                                                                                                                |
| height      | Double                                                                                                                 | The legend height when the legend.orientation is set to "vertical".                                                                                                                                                                                                         |
| offset-x    | Double                                                                                                                 | The X offset of the chart legend. The offset is relative to the default position of the legend. For instance, a value of 20 will move the legend 20 pixels to the right of its initial position. A negative value will move the legend to the left of its current position. |
| offset-y    | Double                                                                                                                 | The Y offset of the chart legend. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels down from its initial position. A negative value will move the legend upwards from its current position.         |
| orientation | [ChartLegendOrientation](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartlegendorientation) | Specifies the legend orientation.                                                                                                                                                                                                                                           |
| position    | [ChartLegendPosition](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartlegendposition)       | Specifies the legend position.                                                                                                                                                                                                                                              |
| reverse     | Boolean                                                                                                                | If set to true the legend items will be reversed.Available in versions 2013.3.1306 and later.                                                                                                                                                                               |
| spacing     | Double                                                                                                                 | The spacing between the labels in pixels when the legend.orientation is "horizontal".                                                                                                                                                                                       |
| visible     | Boolean                                                                                                                | If set to true the chart will display the legend. By default the chart legend is visible.                                                                                                                                                                                   |
| width       | Double                                                                                                                 | The legend width when the legend.orientation is set to "horizontal".                                                                                                                                                                                                        |
