SeriesBase.CrosshairEnabled Property
Gets or sets a value that specifies whether or not a crosshair cursor is enabled for this series.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
#Declaration
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public DefaultBoolean CrosshairEnabled { get; set; }
#Property Value
Type | Description |
---|---|
Default |
Default - the Crosshair |
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
#Remarks
Use the CrosshairEnabled property to activate (deactivate) a crosshair cursor at the level of a particular 2D Series.
After that, it becomes possible to customize the crosshair cursor appearance and position on a diagram via the ChartControl.CrosshairOptions property.
If you need to change the crosshair label appearance, it can be done via the Axis2D.CrosshairLabelPattern property.
For more information on how to use a crosshair cursor, see the Tooltip and Crosshair Cursor topic.