ToolTipOptions.ShowForSeries Property
Specifies whether to show a tooltip for a particular series.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool ShowForSeries { get; set; }
Property Value
Type | Description |
---|---|
Boolean | true to show tooltip; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ShowForSeries |
---|---|---|
WinForms Controls | ChartControl |
|
ASP.NET Web Forms Controls | WebChartControl |
|
ASP.NET MVC Extensions | ChartControlSettings |
|
Remarks
Before using the ShowForSeries property, make sure the ChartControl.ToolTipEnabled property is set to true.
You can also use the ToolTipOptions.ShowForPoints property (to display tooltips for each point) either separately or together with the ShowForSeries property.
Note
Because of the specifics of the Bar and Point series, you can see a tooltip for these series only in a legend.
The following table shows this property in action.
ShowForSeries=True | ShowForSeries=False |
---|---|
To learn more on how to use tooltips, refer to the Tooltips topic.