ChartValueAxisTagHelper

Example

Razor
<value-axis-item>
    <chart-value-axis-item-title></chart-value-axis-item-title>
    <crosshair></crosshair>
    <labels></labels>
    <line />
    <major-grid-lines />
    <major-ticks />
    <minor-grid-lines />
    <minor-ticks />
    <notes></notes>
    <plot-bands></plot-bands>
</value-axis-item>

ChildTags

Attributes

AttributeTypeDescription
nameStringThe unique axis name. Used to associate a series with a value axis using the series.axis option.
axis-crossing-valueObject[]Value at which the category axis crosses this axis. (Only for object)Value indices at which the category axes cross the value axis. (Only for array)Date at which the category axis crosses this axis. (Only for date)
backgroundStringThe background color of the axis.
colorStringThe color of the value axis. Accepts a valid CSS color string, including hex and rgb.
major-unitDoubleThe interval between major divisions. If the valueAxis.type is set to "log", the majorUnit value will be used for the base of the logarithm.
maxDoubleThe maximum value of the axis.
minDoubleThe minimum value of the axis. Under certain conditions, the narrowRange setting can overwrite this setting. To give priority to the min setting of your choice, set valueAxis.narrowRange to false.
minor-unitDoubleThe interval between minor divisions. It defaults to 1/5 of the valueAxis.majorUnit. If the valueAxis.type is set to "log", the minorUnit value represents the number of divisions between two major units and defaults to the major unit minus one.
narrow-rangeBooleanIf set to true the Chart will narrow the value axis range in order to display data points in better detail. Setting it to false will force the automatic axis range to start from 0 or the explicitly specified valueAxis.min value.
paneStringThe name of the pane that the value axis should be rendered in. The axis will be rendered in the first (default) pane if not set.
reverseBooleanIf set to true the value axis direction will be reversed. By default categories are listed from left to right and from bottom to top.
typeStringThe axis type.The supported values are: "numeric" - numeric axis. or "log" - logarithmic axis..
visibleBooleanIf set to true the chart will display the value axis. By default the value axis is visible.
z-indexDoubleAn optional Z-index that can be used to change the default stacking position of the valueAxis.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support