Kendo.Mvc.UI.Fluent.ChartAxisDefaultsSettingsBuilder

Defines the fluent API for configuring ChartAxisDefaultsSettings

Methods

Background(System.String)

The background color of the axis.

Parameters

value System.String

The value for Background

Color(System.String)

The color to apply to all axis elements. 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.ChartAxisDefaultsCrosshairSettingsBuilder<T>>)

The crosshair configuration options.

Parameters

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

The configurator for the crosshair setting.

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

The axis labels configuration.

Parameters

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

The configurator for the labels setting.

Line(System.Action<Kendo.Mvc.UI.Fluent.ChartAxisDefaultsLineSettingsBuilder<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.ChartAxisDefaultsLineSettingsBuilder>

The configurator for the line setting.

MajorGridLines(System.Action<Kendo.Mvc.UI.Fluent.ChartAxisDefaultsMajorGridLinesSettingsBuilder<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.ChartAxisDefaultsMajorGridLinesSettingsBuilder>

The configurator for the majorgridlines setting.

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

The configuration of the axis major ticks.

Parameters

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

The configurator for the majorticks setting.

MinorGridLines(System.Action<Kendo.Mvc.UI.Fluent.ChartAxisDefaultsMinorGridLinesSettingsBuilder<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.ChartAxisDefaultsMinorGridLinesSettingsBuilder>

The configurator for the minorgridlines setting.

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

The configuration of the axis minor ticks.

Parameters

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

The configurator for the minorticks setting.

NarrowRange(System.Boolean)

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

Parameters

value System.Boolean

The value for NarrowRange

NarrowRange

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

Pane(System.String)

The name of the pane that the 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.ChartAxisDefaultsSettingsPlotBandFactory<T>>)

The plot bands of the axis.

Parameters

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

The configurator for the plotbands setting.

Reverse(System.Boolean)

If set to true the 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 axis direction will be reversed. By default categories are listed from left to right and from bottom to top.

StartAngle(System.Double)

The angle (degrees) of the first category on the axis.Angles increase clockwise and zero is to the left. Negative values are acceptable.

Parameters

value System.Double

The value for StartAngle

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

The title configuration of the axis.

Parameters

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

The configurator for the title setting.

Visible(System.Boolean)

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

Parameters

value System.Boolean

The value for Visible