RangeBarLabelKind Enum
Lists the values specifying which range bar values (minimum, maximum, or both) should be displayed within series labels in the Side-by-Side Range Bar, Overlapped Range Bar and Gantt view types.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(EnumTypeConverter))]
public enum RangeBarLabelKind
Members
Name | Description |
---|---|
OneLabel
|
Show one label in the center of the range bar with both maximum and minimum values. Note that in this instance the RangeBarSeriesLabel.Position property has no effect. |
TwoLabels
|
Show both labels with maximum and minimum values of the range bar. |
MaxValueLabel
|
Show only the label for the maximum value of the range bar. |
MinValueLabel
|
Show only the label for the minimum value of the range bar. |
Related API Members
The following properties accept/return RangeBarLabelKind values:
Library | Related API Members |
---|---|
Cross-Platform Class Library | RangeBarSeriesLabel.Kind |
WinForms Controls | RangeBarSeriesLabelModel.Kind |
Remarks
The values listed by the RangeBarLabelKind enumeration are used to customize the appearance of series labels in range bars via the RangeBarSeriesLabel.Kind property.
For instance, in the picture below the label appearance is set as follows: “Series 1” - OneLabel, “Series 2” - TwoLabels, “Series 3” - MaxValueLabel, “Series 4” - MinValueLabel”. The RangeBarSeriesLabel.Position is RangeBarLabelPosition.Outside.