StockChartNavigatorCategoryAxisLabelsSettingsTagHelper

Example

Razor
<labels>
    <border />
    <date-formats />
    <margin />
    <padding />
</labels>

ChildTags

Attributes

AttributeTypeDescription
backgroundStringThe background color of the labels. Accepts a valid CSS color string, including hex and rgb.
colorStringThe text color of the labels. Accepts a valid CSS color string, including hex and rgb.
cultureStringThe culture to use when formatting date values. See the globalization overview for more information.
fontStringThe font style of the labels.
formatStringThe format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
mirrorBooleanIf set to true the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.
rotationDoubleThe rotation angle of the labels. By default the labels are not rotated.
skipDoubleThe number of labels to skip. By default no labels are skipped.
stepDoubleThe label rendering step - render every n-th label. By default every label is rendered.
templateStringThe template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.
template-handlerStringThe template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis. This option expects the name of a JavaScript function that will be called to return the template.
template-idStringThe template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis. This option expects the ID of the script element that contains the template.
template-viewIHtmlContentThe template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis. This option expects the instance containing the created HTML.
visibleBooleanIf set to true the chart will display the category axis labels. By default the category axis labels are visible.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support