Back to Devexpress

TcxGridChartPartAlignment Enum

vcl-cxgridchartview-a1fb8a6e.md

latest1.4 KB
Original Source

TcxGridChartPartAlignment Enum

Enumerates the available alignments for the elements in a chart.

Declaration

delphi
TcxGridChartPartAlignment = (
    cpaDefault,
    cpaStart,
    cpaCenter,
    cpaEnd
);

Members

Name
cpaDefault
cpaStart
cpaCenter
cpaEnd

Remarks

There are several alignment options which can be applied to chart elements (for instance, a chart title and a chart legend). The visual aspect of the alignment options depends also upon the element’s orientation (vertical or horizontal) within the chart.

All the possible values are listed in the following table.

ValueMeaning
cpaDefaultA chart element has the default (predefined) alignment within the chart which actually represents one of the other possible values.
cpaStartA chart element is aligned to the top or left side of the chart’s plot area for a vertically or horizontally oriented chart element, respectively.
cpaCenterA chart element is centered along the corresponding vertical or horizontal direction.
cpaEndA chart element is aligned to the bottom or right side of the chart’s plot area for a vertically or horizontally oriented chart element, respectively.

See Also

cxGridChartView Unit