ChartSubtitleSettingsTagHelper
Example
Razor
<chart-subtitle>
<border />
<margin />
<padding />
</chart-subtitle>
ChildTags
Tag Name | Details |
---|---|
border | ChartAxisDefaultsCrosshairTooltipBorderSettingsTagHelper |
margin | ChartWizardExportOptionsPdfMarginSettingsTagHelper |
padding | ChartAxisDefaultsCrosshairTooltipPaddingSettingsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
align | String | The alignment of the subtitle. "center" - the text is aligned to the middle.; "left" - the text is aligned to the left. or "right" - the text is aligned to the right.. By default, the subtitle has the same alignment as the title. |
background | String | The background color of the subtitle. Accepts a valid CSS color string, including hex and rgb. |
color | String | The text color of the subtitle. Accepts a valid CSS color string, including hex and rgb. |
font | String | The font of the title. |
position | String | The position of the subtitle. "bottom" - the title is positioned on the bottom. or "top" - the title is positioned on the top.. By default, the subtitle is placed in the same position as the title. |
text | String | The text of the chart subtitle. You can also set the text directly for a title with default options. |
visible | Boolean | If set to true the chart will display the subtitle. By default the subtitle will be displayed. |