ChartControl.ToolTipEnabled Property
Gets or sets a value that specifies whether or not a tooltip is enabled for a chart.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v14.2.dll
#Declaration
[XtraSerializableProperty]
[NonTestableProperty]
public bool? ToolTipEnabled { get; set; }
#Property Value
Type | Description |
---|---|
Nullable<Boolean> | Null - a tooltip's state (enabled/disabled) is automatically determined according to the type of a diagram currently displayed on a chart; True - a tooltip is enabled for a chart; False - a tooltip is disabled. |
#Remarks
Use the ToolTipEnabled property to activate (deactivate) a tooltip at the level of a ChartControl.
After that, it becomes possible to customize the tooltip appearance and position on a diagram via the ChartControl.ToolTipOptions property.
You can also change the tooltip content via the Series.ToolTipPointPattern property and tooltip appearance using the Series.ToolTipPointTemplate properties.
The following table shows this property in action.
Tool |
Tool |
---|---|
![]() |
![]() |
For more information on how to use a tooltip in your application, see the Tooltips topic.