Skip to main content

TcxGridChartCategories.VisibleValues Property

Provides indexed access to the collection of category values that are displayed within a Chart View.

Declaration

property VisibleValues[Index: Integer]: Variant read;

Property Value

Type
Variant

Remarks

To get a particular category value, pass the category’s on-screen position as an index to the VisibleValues zero-based indexed collection.

Use the VisibleValueCount property to determine the total number of elements within the VisibleValues collection.

Compared with Values, the VisibleValues collection contains only category values that are displayed in a chart and these are sorted based upon display order.

You can use the View’s Categories.SortOrder and SortOrder properties of series and data groups to customize the display order of categories.

Note

a diagram’s AxisCategory.CategoriesInReverseOrder property has no effect on the order of elements within the VisibleValues and VisibleDisplayTexts collections.

See Also