Back to Devexpress

ChartControlSettings.CrosshairEnabled Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-chartcontrolsettings-08e43c68.md

latest1.7 KB
Original Source

ChartControlSettings.CrosshairEnabled Property

Gets or sets a value that specifies whether or not a crosshair cursor is enabled for a chart.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public DefaultBoolean CrosshairEnabled { get; set; }
vb
Public Property CrosshairEnabled As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

true , to enable a crosshair cursor for a chart; otherwise, false.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

Use the CrosshairEnabled property to activate (deactivate) a crosshair cursor at the level of a chart.

After that, it becomes possible to customize the crosshair cursor appearance and position on a diagram via the ChartControlSettings.CrosshairOptions property.

See Also

ChartControlSettings Class

ChartControlSettings Members

DevExpress.Web.Mvc Namespace