Skip to main content

TcxGridChartOptionsView.CategoriesPerPage Property

Specifies the maximum number of categories simultaneously displayed within the active chart diagram.

Declaration

property CategoriesPerPage: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

When this property is set to a value other than the default, a paging capability is introduced in the currently active diagram. This value specifies the maximum number of categories simultaneously displayed within the diagram (fits in “a page”). Otherwise, all categories will be displayed.

When categories do not fit in a single page, a scrollbar is displayed along a category axis.

To specify the index of the first visible category in a paged diagram, use the View’s Controller.FirstVisibleCategoryIndex property.

Use the View’s Controller.ActiveDiagramSupportsPaging property to determine whether the currently active diagram supports paging.

Note

By default, all diagrams except for pie diagrams support paging.

The default value of the CategoriesPerPage property is 0.

See Also