Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public bool? ToolTipEnabled { get; set; }

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ToolTipEnabled property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also