Back to Devexpress

WebChartControl.ToolTipEnabled Property

aspnet-devexpress-dot-xtracharts-dot-web-dot-webchartcontrol-7994ee70.md

latest2.4 KB
Original Source

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.v25.2.Web.dll

NuGet Package : DevExpress.Web.Visualization

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean ToolTipEnabled { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property ToolTipEnabled As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

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

WebChartControl Class

WebChartControl Members

DevExpress.XtraCharts.Web Namespace