Kendo.Mvc.UI.Fluent.ChartValueAxisBuilder

Defines the fluent API for configuring ChartValueAxis

Methods

Date

Sets the axis type to date.

Logarithmic

Sets the axis type to logarithmic.

Numeric

Sets the axis type to numeric.

Numeric(System.String)

Defines a numeric value axis.

Polar

Sets the axis type to polar.

Title(System.String)

Sets the axis title.

AxisCrossingValue(System.Object[])

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)

Parameters

value System.Object[]

The value for AxisCrossingValue

Background(System.String)

The background color of the axis.

Parameters

value System.String

The value for Background

Color(System.String)

The color of the value axis. Accepts a valid CSS color string, including hex and rgb.

Parameters

value System.String

The value for Color

Crosshair(System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisCrosshairSettingsBuilder<T>>)

The crosshair configuration options.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisCrosshairSettingsBuilder>

The configurator for the crosshair setting.

Labels(System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisLabelsSettingsBuilder<T>>)

The axis labels configuration.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisLabelsSettingsBuilder>

The configurator for the labels setting.

Line(System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisLineSettingsBuilder<T>>)

The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisLineSettingsBuilder>

The configurator for the line setting.

MajorGridLines(System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisMajorGridLinesSettingsBuilder<T>>)

The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the chart.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisMajorGridLinesSettingsBuilder>

The configurator for the majorgridlines setting.

MajorUnit(System.Double)

The interval between major divisions. If the valueAxis.type is set to "log", the majorUnit value will be used for the base of the logarithm.

Parameters

value System.Double

The value for MajorUnit

Max(System.Double)

The maximum value of the axis.

Parameters

value System.Double

The value for Max

Min(System.Double)

The minimum value of the axis.

Parameters

value System.Double

The value for Min

MinorGridLines(System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisMinorGridLinesSettingsBuilder<T>>)

The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the body of the chart.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisMinorGridLinesSettingsBuilder>

The configurator for the minorgridlines setting.

MajorTicks(System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisMajorTicksSettingsBuilder<T>>)

The configuration of the value axis major ticks.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisMajorTicksSettingsBuilder>

The configurator for the majorticks setting.

MinorTicks(System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisMinorTicksSettingsBuilder<T>>)

The configuration of the value axis minor ticks.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisMinorTicksSettingsBuilder>

The configurator for the minorticks setting.

MinorUnit(System.Double)

The 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.

Parameters

value System.Double

The value for MinorUnit

Name(System.String)

The unique axis name. Used to associate a series with a value axis using the series.axis option.

Parameters

value System.String

The value for Name

NarrowRange(System.Boolean)

If set to true the chart will prevent the automatic axis range from snapping to 0. Setting it to false will force the automatic axis range to snap to 0.

Parameters

value System.Boolean

The value for NarrowRange

Pane(System.String)

The 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.

Parameters

value System.String

The value for Pane

PlotBands(System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisPlotBandFactory<T>>)

The plot bands of the value axis.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisPlotBandFactory>

The configurator for the plotbands setting.

Reverse(System.Boolean)

If set to true the value axis direction will be reversed. By default categories are listed from left to right and from bottom to top.

Parameters

value System.Boolean

The value for Reverse

Reverse

If set to true the value axis direction will be reversed. By default categories are listed from left to right and from bottom to top.

Title(System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisTitleSettingsBuilder<T>>)

The title configuration of the value axis.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisTitleSettingsBuilder>

The configurator for the title setting.

Type(System.String)

The axis type.The supported values are: "numeric" - numeric axis. or "log" - logarithmic axis..

Parameters

value System.String

The value for Type

Visible(System.Boolean)

If set to true the chart will display the value axis. By default the value axis is visible.

Parameters

value System.Boolean

The value for Visible

Notes(System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisNotesSettingsBuilder<T>>)

The value axis notes configuration.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartValueAxisNotesSettingsBuilder>

The configurator for the notes setting.