ChartLegendLabelsSettingsTagHelper

Example

Razor
<labels>
    <chart-legend-labels-margin />
    <chart-legend-labels-padding />
</labels>

ChildTags

Tag NameDetails
chart-legend-labels-marginChartLegendLabelsMarginSettingsTagHelper
chart-legend-labels-paddingChartLegendLabelsPaddingSettingsTagHelper

Attributes

AttributeTypeDescription
colorStringThe text color of the labels. Accepts a valid CSS color string, including hex and rgb.
fontStringThe font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".
templateStringThe 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-handlerStringThe 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-idStringThe 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-viewIHtmlContentThe 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..
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support