Back to Devexpress

TdxChartXYSeriesStackedBarView Class

vcl-dxchartxyseriesbarview-05fce58e.md

latest4.0 KB
Original Source

TdxChartXYSeriesStackedBarView Class

Stores Stacked Bar View settings.

Declaration

delphi
TdxChartXYSeriesStackedBarView = class(
    TdxChartXYSeriesCustomBarView
)

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 TdxChartXYSeriesStackedBarView class implements the Stacked Bar View that displays all points from all series as colored bars stacked at argument values. Use this View when you display multiple series and you need to emphasize the total.

Main API Members

The list below outlines key members of the TdxChartXYSeriesStackedBarView class that allow you to customize appearance of an XY series that uses the Stacked Bar View.

Bar View-Specific Settings

AppearanceProvides access to general bar appearance settings.BarWidth | BarDistanceAllow you to adjust the width of bars and distances between them.

General XY Series View API Members

AxisX | AxisY

Allow you to associate the series View with different axes of arguments and values in the parent XY diagram.

The Chart control uses the scales of the associated axes to display an XY series.

GetDescriptionReturns the series View type description.GetViewImagesReturns an image list populated with icons that correspond to all registered series View types.GetViewImageIndexReturns the index of the icon that corresponds to the current series View type.SeriesProvides access to the XY series to which the current View settings belong.ValueLabelsProvides access to value label settings.

Indirect TdxChartXYSeriesStackedBarView Class References

The View property of an XY series references the TdxChartXYSeriesStackedBarView class as a TdxChartSeriesCustomView object if the ViewType property is set to 'StackedBar'. You need to cast the returned object to the TdxChartXYSeriesStackedBarView class to access all public API members.

Inheritance

TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TdxChartVisualElementPersistent TdxChartSeriesCustomView TdxChartXYSeriesCustomView TdxChartXYSeriesCustomBarView TdxChartXYSeriesStackedBarView

See Also

TdxChartXYSeriesFullStackedBarView Class

TdxChartXYSeriesBarView Class

TdxChartXYSeriesStackedBarView Members

dxChartXYSeriesBarView Unit