Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.

Value Meaning
cpaDefault A chart element has the default (predefined) alignment within the chart which actually represents one of the other possible values.
cpaStart A 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.
cpaCenter A chart element is centered along the corresponding vertical or horizontal direction.
cpaEnd A 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