TdxChartXYSeriesBarView Class
Stores Bar View settings.
Declaration
TdxChartXYSeriesBarView = class(
TdxChartXYSeriesCustomView
)
Remarks
A Bar View displays series as sets of vertical or horizontal bars depending on axis positions. Bar lengths reflect series point values. Bar Views are often used to compare values in different categories.
The TdxChartXYSeriesBarView
class implements the Simple Bar View that displays series values as colored bars grouped by argument values (categories). Use this View when you need to display only one series or when you need to compare multiple series.
Main API Members
The list below outlines key members of the TdxChartXYSeriesBarView
class that allow you to customize appearance of an XY series that uses the Simple Bar View.
- Customize bar appearance (Appearance).
- Adjust width of bars and distances between them (BarWidth and BarDistance).
- Obtain the series View description (GetDescription).
- Display and customize value labels (ValueLabels).
- Access the series to which the current Bar View settings belong (Series).
Direct TdxChartXYSeriesBarView
The View property of an XY series references the TdxChartXYSeriesBarView
class as a TdxChartSeriesCustomView object if the ViewType property is set to 'Bar'
. You need to cast the returned object to the TdxChartXYSeriesBarView
class to access all public API members.