Skip to main content

Series.ToolTipEnabled Property

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

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>

Null - the ToolTipEnabled property value is obtained from the parent chart’s ChartControl.ToolTipEnabled property; True - a tooltip is enabled for a series; False - a tooltip is disabled.

Remarks

Use the ToolTipEnabled property to activate (deactivate) a tooltip at the level of a particular 2D XYSeries.

After that, it becomes possible to customize the tooltip appearance and position on a diagram via the ChartControl.ToolTipOptions property.

If you need to change the tooltip appearance, it can be done via the Series.ToolTipSeriesPattern and Series.ToolTipSeriesTemplate properties.

The following table shows this property in action.

ToolTipEnabled=True (for first series) ToolTipEnabled=True (for second series)
Series - TooltipEnabled- true(false) Series - TooltipEnabled- false(true)

For more information on how to use a tooltip in your application, see the Tooltip topic.

See Also