Skip to main content

TdxChartSeriesTopNOptionsMode Enum

Enumerates available Top N value display modes for simple series.

Declaration

TdxChartSeriesTopNOptionsMode = (
    Count,
    ThresholdValue,
    ThresholdPercent
);

Members

Name Description Example (Doughnut) Example (Pie)
Count

Default. In this mode, the TopNOptions.Value property value specifies the number of displayed top values in a simple series.

The default number of displayed top series values is 5. If you assign a non-integer value to the TopNOptions.Value property in this mode, the property setter truncates the fractional part.

VCL Chart Control: Doughnut View - The Count Mode is Active

VCL Chart Control: Pie View - The Count Mode is Active

ThresholdValue

All values that exceed the TopNOptions.Value property value are displayed as separate simple series values.

The default threshold value is 50.

VCL Chart Control: Doughnut View - The Threshold Value Mode is Active

VCL Chart Control: Pie View - The Threshold Value Mode is Active

ThresholdPercent

All values that exceed the TopNOptions.Value property value (as a percentage) are displayed as separate simple series values.

The default threshold percentage is 10. The TopNOptions.Value property value can be within the range between MinDouble and 100.

VCL Chart Control: Doughnut View - The Threshold Percent Mode is Active

VCL Chart Control: Pie View - The Threshold Percent Mode is Active

Remarks

The TopNOptions.Mode property of a simple series references the TdxChartSeriesTopNOptionsMode type.

Note

TdxChartSeriesTopNOptionsMode is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxChartSeriesTopNOptionsMode.ThresholdValue (in Delphi) or TdxChartSeriesTopNOptionsMode::ThresholdValue (in C++Builder) to refer to the ThresholdValue value in code.

See Also