Skip to main content

BootstrapChart.CrosshairEnabled Property

Specifies whether the crosshair is displayed.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.2.dll

Declaration

[DefaultValue(false)]
public bool CrosshairEnabled { get; set; }

Property Value

Type Default Description
Boolean false

true if the crosshair is displayed; otherwise, false.

Remarks

Crosshair is a pointer represented by two mutually-crossing lines stretched over the entire chart plot. The crosshair helps a user identify the values of the series points precisely. When enabled, the crosshair follows the cursor and snaps to the nearest series point.

BootstrapChart-Crosshair

To enable the crosshair, set the CrosshairEnabled property to true. Assign true to the BootstrapChart.CrosshairLabelVisible property as well to make the crosshair labels visible.

See Also