ChartPaneTitleSettingsTagHelper
Example
Razor
<chart-pane-title>
<border />
<margin />
</chart-pane-title>
ChildTags
Tag Name | Details |
---|---|
border | ChartPaneTitleBorderSettingsTagHelper |
margin | ChartPaneTitleMarginSettingsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
background | String | The background color of the title. Accepts a valid CSS color string, including hex and rgb. |
color | String | The text color of the title. Accepts a valid CSS color string, including hex and rgb. |
font | String | The font style of the title. |
position | String | The position of the title.The supported values are: "left" - the axis title is positioned on the left (applicable to horizontal axis); "right" - the axis title is positioned on the right (applicable to horizontal axis) or "center" - the axis title is positioned in the center. |
text | String | The text of the title. |
visible | Boolean | If set to true the chart will display the pane title. By default the pane title is visible. |
visual | String | A function that can be used to create a custom visual for the title. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual.. |