Skip to main content

WebChartControl.ToolTipEnabled Property

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

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v22.1.Web.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean ToolTipEnabled { get; set; }

Property Value

Type Default Description
DefaultBoolean

Default

Default - 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.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

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 WebChartControl.ToolTipOptions property.

You can also change the tooltip content via the SeriesBase.ToolTipPointPattern property.

For more information on how to use a tooltip, refer to the Tooltips topic.

See Also