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

TdxChartSeriesLineOptimization Enum

Enumerates available series line and point rendering modes for Line and Area series Views.

#Declaration

Delphi
TdxChartSeriesLineOptimization = (
    Default,
    None,
    RemoveOverlaps,
    PiecewiseLinear,
    Full
);

#Members

Name Description
Default

Default (Recommended Option). This option corresponds to None or RemoveOverlaps depending on the number of series points and the currently available XY Diagram area.

Default corresponds to RemoveOverlaps if the distance between any two series points is less than half of the current line width. Otherwise, Default corresponds to None.

None

All series line and point calculation and rendering optimizations are disabled in this mode.

RemoveOverlaps

The diagram merges two adjacent series points if the distance between them is less than half of the current line width.

PiecewiseLinear

The diagram removes a series point between two other series points if it is possible to connect all these points by a straight line.

Do not use this mode if you display value markers and you need to display all values in a series.

Full

All series line and point calculation and rendering optimizations are in effect for any number of series points and any diagram area size.

This mode combines PiecewiseLinear and RemoveOverlaps options.

Do not use this mode if you display value markers and you need to display all values in a series.

#Remarks

The Optimization property of Line and Area series Views references the TdxChartSeriesLineOptimization type.

Note

TdxChartSeriesLineOptimization 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 TdxChartSeriesLineOptimization.None (in Delphi) or TdxChartSeriesLineOptimization::None (in C++Builder) to refer to the None value in code.

See Also