ChartControl.ToolTipEnabled Property

Gets or sets a value that specifies whether a tooltip is enabled for a chart.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

Declaration

public bool? ToolTipEnabled { get; set; }
Public Property ToolTipEnabled As Boolean?

Property Value

Type Description
Nullable<Boolean>

The value that defines whether tooltips are enabled.

Remarks

The ToolTipEnabled property can have the following values:

Value

Description

null

The tooltip state (enabled/disabled) is automatically determined based on the chart diagram type.

true

The tooltip is always enabled.

false

The tooltip is always disabled.

Use the ToolTipEnabled property to activate (deactivate) a tooltip at the level of a ChartControl.

ToolTipEnabled=True ToolTipEnabled=False
ChartControl - TooltipEnabled - true ToolTipOptions - ShowForPoints - false

The ChartControl.ToolTipOptions property stores the settings that allow you to customize the tooltip appearance and position on a diagram.

To change the tooltip content for a specific series, use the Series.ToolTipPointPattern property. Use the Series.ToolTipPointTemplate property to fine-tune tooltip appearance.

Refer to the Tooltip topic for more information on how to use a tooltip.

See Also