# ChartLegendInactiveItemsLabelsSettingsTagHelper

## Example

```
<labels/>
```

## Attributes

| Attribute        | Type         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ---------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| color            | String       | The text color of the labels. Accepts a valid CSS color string, including hex and rgb.                                                                                                                                                                                                                                                                                                                                                     |
| font             | String       | The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".                                                                                                                                                                                                                                                                                                                                          |
| template         | String       | The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts) or percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts..                                                                                                   |
| template-handler | String       | The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts) or percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.. This option expects the name of a JavaScript function that will be called to return the template. |
| template-id      | String       | The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts) or percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.. This option expects the ID of the script element that contains the template.                      |
| template-view    | IHtmlContent | The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts) or percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.. This option expects the  instance containing the created HTML.                                    |
