Skip to main content

TdxChartCustomSeries.TopNOptions Property

Specifies how the simple series determines the top N points and displays them.

Declaration

property TopNOptions: TdxChartSeriesTopNOptions read; write;

Property Value

Type Description
TdxChartSeriesTopNOptions

Stores the top N points display settings in simple series.

Remarks

If a simple series includes multiple points that constitute a minor portion of the total series value, you may want to display only the largest values to focus a user’s attention on the most important points:

VCL Chart Control: A Sorted Doughnut Series with All Points as Separate Slices

To accomplish this goal, set the SortOrder property to soDescending and set the TopNOptions.Enabled property to True:

VCL Chart Control: A Sorted Doughnut Series with 5 Points as Separate Slices

You can use the TopNOptions.Value property to change the number of visible series points.

Other Options

If the TopNOptions.Enabled property is set to True, the series displays all other values as a separate pie or doughnut slice. You can set the TopNOptions.ShowOthers property to False to hide this aggregate slice. The TopNOptions.Mode property allows you to switch between available series point display criteria when the Top N mode is active.

Refer to the TdxChartSeriesTopNOptions class description for detailed information on all available options.

Limitations

Only the TdxChartSimpleSeries class publishes the TopNOptions property.

See Also