ChartValueAxisCrosshairSettingsBuilder

Methods

Color(System.String)

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

Parameters

value - System.String

The value for Color

RETURNS

Returns the current ChartValueAxisCrosshairSettingsBuilder instance.

DashType(Kendo.Mvc.UI.ChartDashType)

The dash type of the crosshair.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.

Parameters

value - ChartDashType

The value for DashType

RETURNS

Returns the current ChartValueAxisCrosshairSettingsBuilder instance.

Opacity(System.Double)

The opacity of the crosshair. By default the crosshair is opaque.

Parameters

value - System.Double

The value for Opacity

RETURNS

Returns the current ChartValueAxisCrosshairSettingsBuilder instance.

Tooltip(System.Action)

The crosshair tooltip options.

Parameters

configurator - System.Action<ChartValueAxisCrosshairTooltipSettingsBuilder>

The configurator for the tooltip setting.

RETURNS

Returns the current instance of ChartValueAxisCrosshairSettingsBuilder .

Visible(System.Boolean)

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

Parameters

value - System.Boolean

The value for Visible

RETURNS

Returns the current ChartValueAxisCrosshairSettingsBuilder instance.

Visible()

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

RETURNS

Returns the current ChartValueAxisCrosshairSettingsBuilder instance.

Width(System.Double)

The width of the crosshair in pixels.

Parameters

value - System.Double

The value for Width

RETURNS

Returns the current ChartValueAxisCrosshairSettingsBuilder instance.