New to Telerik UI for ASP.NET Core? Download free 30-day trial

ChartAxisDefaultsSettingsBuilder

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)

The crosshair configuration options.

Parameters

configurator - System.Action<ChartAxisDefaultsCrosshairSettingsBuilder>

The configurator for the crosshair setting.

Labels(System.Action)

The axis labels configuration.

Parameters

configurator - System.Action<ChartAxisDefaultsLabelsSettingsBuilder>

The configurator for the labels setting.

Line(System.Action)

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

Parameters

configurator - System.Action<ChartAxisDefaultsLineSettingsBuilder>

The configurator for the line setting.

MajorGridLines(System.Action)

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<ChartAxisDefaultsMajorGridLinesSettingsBuilder>

The configurator for the majorgridlines setting.

MajorTicks(System.Action)

The configuration of the axis major ticks.

Parameters

configurator - System.Action<ChartAxisDefaultsMajorTicksSettingsBuilder>

The configurator for the majorticks setting.

MinorGridLines(System.Action)

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<ChartAxisDefaultsMinorGridLinesSettingsBuilder>

The configurator for the minorgridlines setting.

MinorTicks(System.Action)

The configuration of the axis minor ticks.

Parameters

configurator - System.Action<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)

The plot bands of the axis.

Parameters

configurator - System.Action<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)

The title configuration of the axis.

Parameters

configurator - System.Action<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

In this article
Not finding the help you need?